cmd/signer: minor change in json format

This commit is contained in:
Martin Holst Swende 2017-12-15 09:16:03 +01:00
parent 4fa2cb0332
commit 92ba02a8d5
No known key found for this signature in database
GPG key ID: 683B438C05A5DDF0
2 changed files with 7 additions and 3 deletions

View file

@ -434,4 +434,8 @@ invoking methods with the following info:
* Address of API (http/ipc)
* This makes it posible for the UI to use the api for creating transactions
* List of known accounts
* The signer should pass the `Origin` header as call-info to the UI. As of right now, the way that info about the request is
put together is a bit of a hack into the http server. This could probably be greatly improved
* The signer

View file

@ -62,8 +62,8 @@ type (
// SignTxResponse result from SignTxRequest
SignTxResponse struct {
//The UI may make changes to the TX
Transaction TransactionArg
From common.Address
Transaction TransactionArg `json:"transaction"`
From common.Address `json:"fromaccount"`
Approved bool `json:"approved"`
Password string `json:"password"`
}