mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 01:43: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
|
|
@ -435,3 +435,7 @@ invoking methods with the following info:
|
||||||
* This makes it posible for the UI to use the api for creating transactions
|
* This makes it posible for the UI to use the api for creating transactions
|
||||||
* List of known accounts
|
* 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 result from SignTxRequest
|
||||||
SignTxResponse struct {
|
SignTxResponse struct {
|
||||||
//The UI may make changes to the TX
|
//The UI may make changes to the TX
|
||||||
Transaction TransactionArg
|
Transaction TransactionArg `json:"transaction"`
|
||||||
From common.Address
|
From common.Address `json:"fromaccount"`
|
||||||
Approved bool `json:"approved"`
|
Approved bool `json:"approved"`
|
||||||
Password string `json:"password"`
|
Password string `json:"password"`
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue