diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-04-01 21:27:37 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-04-01 21:27:37 +0800 |
commit | 93f832a1a76430ebb18276aaf2a3f18d000edae2 (patch) | |
tree | db26cfc41b59561984cd9672565594747278c942 | |
parent | 0ce971d9d396521697b56efeb60e28fe40bd0015 (diff) | |
download | dexon-93f832a1a76430ebb18276aaf2a3f18d000edae2.tar.gz dexon-93f832a1a76430ebb18276aaf2a3f18d000edae2.tar.zst dexon-93f832a1a76430ebb18276aaf2a3f18d000edae2.zip |
Make block context optional nulls
-rw-r--r-- | rpc/responses_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rpc/responses_test.go b/rpc/responses_test.go index 20bc8e97d..702fc5c22 100644 --- a/rpc/responses_test.go +++ b/rpc/responses_test.go @@ -72,9 +72,9 @@ func TestNewTransactionRes(t *testing.T) { tests := map[string]string{ "hash": reHash, "nonce": reNum, - "blockHash": reHash, - "blockNum": reNum, - "transactionIndex": reNum, + "blockHash": reHashOpt, + "blockNum": reNumOpt, + "transactionIndex": reNumOpt, "from": reAddress, "to": reAddressOpt, "value": reNum, |