Commit 93f832a1 authored by Taylor Gerring's avatar Taylor Gerring

Make block context optional nulls

parent 0ce971d9
...@@ -72,9 +72,9 @@ func TestNewTransactionRes(t *testing.T) { ...@@ -72,9 +72,9 @@ func TestNewTransactionRes(t *testing.T) {
tests := map[string]string{ tests := map[string]string{
"hash": reHash, "hash": reHash,
"nonce": reNum, "nonce": reNum,
"blockHash": reHash, "blockHash": reHashOpt,
"blockNum": reNum, "blockNum": reNumOpt,
"transactionIndex": reNum, "transactionIndex": reNumOpt,
"from": reAddress, "from": reAddress,
"to": reAddressOpt, "to": reAddressOpt,
"value": reNum, "value": reNum,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment