aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,