aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/responses.go
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-04-02 18:30:22 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-04-02 18:30:22 +0800
commitf89baa73e5cfc0e93f32e36f5c3838cd808e6f46 (patch)
treea1a7108cb78be678a3dad4a2724ccc18482901d9 /rpc/responses.go
parent85ebbc9aa5e4c8902b94847dbeb78f26255eb0aa (diff)
downloaddexon-f89baa73e5cfc0e93f32e36f5c3838cd808e6f46.tar.gz
dexon-f89baa73e5cfc0e93f32e36f5c3838cd808e6f46.tar.zst
dexon-f89baa73e5cfc0e93f32e36f5c3838cd808e6f46.zip
transactionRoot -> transactionsRoot
Diffstat (limited to 'rpc/responses.go')
-rw-r--r--rpc/responses.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/rpc/responses.go b/rpc/responses.go
index bf4f518aa..f1dc344db 100644
--- a/rpc/responses.go
+++ b/rpc/responses.go
@@ -16,7 +16,7 @@ type BlockRes struct {
Nonce *hexdata `json:"nonce"`
Sha3Uncles *hexdata `json:"sha3Uncles"`
LogsBloom *hexdata `json:"logsBloom"`
- TransactionRoot *hexdata `json:"transactionRoot"`
+ TransactionRoot *hexdata `json:"transactionsRoot"`
StateRoot *hexdata `json:"stateRoot"`
Miner *hexdata `json:"miner"`
Difficulty *hexnum `json:"difficulty"`
@@ -40,7 +40,7 @@ func (b *BlockRes) MarshalJSON() ([]byte, error) {
Nonce *hexdata `json:"nonce"`
Sha3Uncles *hexdata `json:"sha3Uncles"`
LogsBloom *hexdata `json:"logsBloom"`
- TransactionRoot *hexdata `json:"transactionRoot"`
+ TransactionRoot *hexdata `json:"transactionsRoot"`
StateRoot *hexdata `json:"stateRoot"`
Miner *hexdata `json:"miner"`
Difficulty *hexnum `json:"difficulty"`
@@ -83,7 +83,7 @@ func (b *BlockRes) MarshalJSON() ([]byte, error) {
Nonce *hexdata `json:"nonce"`
Sha3Uncles *hexdata `json:"sha3Uncles"`
LogsBloom *hexdata `json:"logsBloom"`
- TransactionRoot *hexdata `json:"transactionRoot"`
+ TransactionRoot *hexdata `json:"transactionsRoot"`
StateRoot *hexdata `json:"stateRoot"`
Miner *hexdata `json:"miner"`
Difficulty *hexnum `json:"difficulty"`