From 98e0bedcd71031b7edef3eb25b5faa29ac166b4a Mon Sep 17 00:00:00 2001 From: Javier Sagredo Date: Sun, 3 Feb 2019 12:41:38 +0100 Subject: [PATCH] common/compiler: fixed testSource (#18978) --- common/compiler/solidity_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/compiler/solidity_test.go b/common/compiler/solidity_test.go index 0da3bb337..cb954b720 100644 --- a/common/compiler/solidity_test.go +++ b/common/compiler/solidity_test.go @@ -23,9 +23,10 @@ import ( const ( testSource = ` +pragma solidity >0.0.0; contract test { /// @notice Will multiply ` + "`a`" + ` by 7. - function multiply(uint a) returns(uint d) { + function multiply(uint a) public returns(uint d) { return a * 7; } }