From 9b5d31e87861cf26f40b6017c06bb4f565b62fc4 Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 5 Jun 2018 18:17:46 +0200 Subject: [PATCH] Update example-contracts.js --- src/app/editor/example-contracts.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/app/editor/example-contracts.js b/src/app/editor/example-contracts.js index b9316e43d9..9a13f5ef4b 100644 --- a/src/app/editor/example-contracts.js +++ b/src/app/editor/example-contracts.js @@ -74,9 +74,7 @@ contract test3 { Ballot ballotToTest; function beforeAll () { - bytes32[] proposals; - proposals.push(0xabcd); - ballotToTest = new Ballot(proposals); + ballotToTest = new Ballot(2); } function checkWinningProposal () public {