From 4d97428c816a65430695195b8fa0effc667d655d Mon Sep 17 00:00:00 2001 From: Somnath Date: Mon, 9 Oct 2023 22:42:54 +0530 Subject: [PATCH] Fix expected value in test (#8412) --- turbo/jsonrpc/send_transaction_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/turbo/jsonrpc/send_transaction_test.go b/turbo/jsonrpc/send_transaction_test.go index dab70e7d3..b5cf7e4e8 100644 --- a/turbo/jsonrpc/send_transaction_test.go +++ b/turbo/jsonrpc/send_transaction_test.go @@ -107,7 +107,7 @@ func TestSendRawTransaction(t *testing.T) { t.Log("Timeout waiting for txn from channel") jsonTx, err := api.GetTransactionByHash(ctx, txHash) require.NoError(err) - require.Equal(expectedValue+1, jsonTx.Value.Uint64()) + require.Equal(expectedValue, jsonTx.Value.Uint64()) } //send same tx second time and expect error