Skip to content

Commit 93f832a

Browse files
committed
Make block context optional nulls
1 parent 0ce971d commit 93f832a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎rpc/responses_test.go‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ func TestNewTransactionRes(t *testing.T) {
7272
tests := map[string]string{
7373
"hash": reHash,
7474
"nonce": reNum,
75-
"blockHash": reHash,
76-
"blockNum": reNum,
77-
"transactionIndex": reNum,
75+
"blockHash": reHashOpt,
76+
"blockNum": reNumOpt,
77+
"transactionIndex": reNumOpt,
7878
"from": reAddress,
7979
"to": reAddressOpt,
8080
"value": reNum,

0 commit comments

Comments
 (0)