Make block context optional nulls

This commit is contained in:
Taylor Gerring 2015-04-01 15:27:37 +02:00
parent 0ce971d9d3
commit 93f832a1a7

View File

@ -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,