aboutsummaryrefslogtreecommitdiffstats
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
parent0ce971d9d396521697b56efeb60e28fe40bd0015 (diff)
downloadgo-tangerine-93f832a1a76430ebb18276aaf2a3f18d000edae2.tar.gz
go-tangerine-93f832a1a76430ebb18276aaf2a3f18d000edae2.tar.zst
go-tangerine-93f832a1a76430ebb18276aaf2a3f18d000edae2.zip
Make block context optional nulls
-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,