aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/responses_test.go
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-04-01 21:27:37 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-04-01 21:27:37 +0800
commit93f832a1a76430ebb18276aaf2a3f18d000edae2 (patch)
treedb26cfc41b59561984cd9672565594747278c942 /rpc/responses_test.go
parent0ce971d9d396521697b56efeb60e28fe40bd0015 (diff)
downloaddexon-93f832a1a76430ebb18276aaf2a3f18d000edae2.tar
dexon-93f832a1a76430ebb18276aaf2a3f18d000edae2.tar.gz
dexon-93f832a1a76430ebb18276aaf2a3f18d000edae2.tar.bz2
dexon-93f832a1a76430ebb18276aaf2a3f18d000edae2.tar.lz
dexon-93f832a1a76430ebb18276aaf2a3f18d000edae2.tar.xz
dexon-93f832a1a76430ebb18276aaf2a3f18d000edae2.tar.zst
dexon-93f832a1a76430ebb18276aaf2a3f18d000edae2.zip
Make block context optional nulls
Diffstat (limited to 'rpc/responses_test.go')
-rw-r--r--rpc/responses_test.go6
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,