Fix expected value in test (#8412)

This commit is contained in:
Somnath 2023-10-09 22:42:54 +05:30 committed by GitHub
parent 2a5c51dc57
commit 4d97428c81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,7 +107,7 @@ func TestSendRawTransaction(t *testing.T) {
t.Log("Timeout waiting for txn from channel") t.Log("Timeout waiting for txn from channel")
jsonTx, err := api.GetTransactionByHash(ctx, txHash) jsonTx, err := api.GetTransactionByHash(ctx, txHash)
require.NoError(err) require.NoError(err)
require.Equal(expectedValue+1, jsonTx.Value.Uint64()) require.Equal(expectedValue, jsonTx.Value.Uint64())
} }
//send same tx second time and expect error //send same tx second time and expect error