From 730b7ee6193996d4e2ad347060168e90fac59cbb Mon Sep 17 00:00:00 2001 From: Godfrey Hobbs Date: Wed, 8 Aug 2018 13:26:27 -0700 Subject: [PATCH] Update eip20.js Minor clean up. Remove distracting code that does not affect the test. --- test/eip20/eip20.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/eip20/eip20.js b/test/eip20/eip20.js index 8a656ffb..b23792ad 100644 --- a/test/eip20/eip20.js +++ b/test/eip20/eip20.js @@ -82,8 +82,6 @@ contract('EIP20', (accounts) => { const balance2 = await HST.balanceOf.call(accounts[2]); assert.strictEqual(balance2.toNumber(), 0, 'balance2 not correct'); - await HST.transferFrom.call(accounts[0], accounts[2], 20, { from: accounts[1] }); - await HST.allowance.call(accounts[0], accounts[1]); await HST.transferFrom(accounts[0], accounts[2], 20, { from: accounts[1] }); // -20 const allowance01 = await HST.allowance.call(accounts[0], accounts[1]); assert.strictEqual(allowance01.toNumber(), 80); // =80