From 25205bf93ffa20d03558ca97cbb85a00061ab766 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Negovanovi=C4=87?= Date: Mon, 19 Feb 2024 13:52:41 +0100 Subject: [PATCH] Lint fix --- e2e-polybft/e2e/jsonrpc_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/e2e-polybft/e2e/jsonrpc_test.go b/e2e-polybft/e2e/jsonrpc_test.go index 7c645a7e78..0d7dd34db3 100644 --- a/e2e-polybft/e2e/jsonrpc_test.go +++ b/e2e-polybft/e2e/jsonrpc_test.go @@ -245,7 +245,7 @@ func TestE2E_JsonRPC(t *testing.T) { key1, err := crypto.GenerateECDSAKey() require.NoError(t, err) - txn := cluster.Transfer(t, senderKey, types.Address(key1.Address()), one) + txn := cluster.Transfer(t, senderKey, key1.Address(), one) require.NoError(t, txn.Wait()) require.True(t, txn.Succeed()) @@ -329,7 +329,7 @@ func TestE2E_JsonRPC(t *testing.T) { t.Run("eth_getBlockByHash", func(t *testing.T) { key1, err := crypto.GenerateECDSAKey() require.NoError(t, err) - txn := cluster.Transfer(t, senderKey, types.Address(key1.Address()), one) + txn := cluster.Transfer(t, senderKey, key1.Address(), one) require.NoError(t, txn.Wait()) require.True(t, txn.Succeed()) txReceipt := txn.Receipt() @@ -343,7 +343,7 @@ func TestE2E_JsonRPC(t *testing.T) { t.Run("eth_getBlockByNumber", func(t *testing.T) { key1, err := crypto.GenerateECDSAKey() require.NoError(t, err) - txn := cluster.Transfer(t, senderKey, types.Address(key1.Address()), one) + txn := cluster.Transfer(t, senderKey, key1.Address(), one) require.NoError(t, txn.Wait()) require.True(t, txn.Succeed()) txReceipt := txn.Receipt()