diff --git a/common/compiler/solidity_test.go b/common/compiler/solidity_test.go index 0da3bb337e89479018f90d72609757253691173d..cb954b720ef569c3df27b5dca9f8749cef2c16fc 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; } }