From 83f4eb7a6a47ebb605f49059ea5b44ea553f261a Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 22 Nov 2018 12:44:32 +0100 Subject: [PATCH] Update example-contracts.js --- src/app/editor/example-contracts.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/editor/example-contracts.js b/src/app/editor/example-contracts.js index 6fdd16e246..517fa1db69 100644 --- a/src/app/editor/example-contracts.js +++ b/src/app/editor/example-contracts.js @@ -1,6 +1,7 @@ 'use strict' -var ballot = `contract Ballot { +var ballot = `pragma solidity >=0.4.22 <0.6.0; +contract Ballot { struct Voter { uint weight;