mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 15:47:21 +00:00
common/compiler: fixed testSource (#18978)
This commit is contained in:
parent
05d21438de
commit
98e0bedcd7
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue