From f3ccd72f91be74931ed60efbb08707b03b0059de Mon Sep 17 00:00:00 2001 From: coffeepots Date: Fri, 3 Aug 2018 17:16:50 +0100 Subject: [PATCH] Remove redundant account creation, already done in mutateStateDb --- tests/test_rpc.nim | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/test_rpc.nim b/tests/test_rpc.nim index 014ee1cc5..fa74d1a9f 100644 --- a/tests/test_rpc.nim +++ b/tests/test_rpc.nim @@ -47,9 +47,7 @@ proc doTests = ethNode.chain = chain let balance = 100.u256 - var - account = newAccount() - address: EthAddress = hexToByteArray[20]("0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6") + var address: EthAddress = hexToByteArray[20]("0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6") state.mutateStateDB: db.setBalance(address, balance)