mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 17:33:47 +00:00
cmd/signer: minor change in json format
This commit is contained in:
parent
4fa2cb0332
commit
92ba02a8d5
2 changed files with 7 additions and 3 deletions
|
|
@ -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
|
||||
|
|
@ -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"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue