Skip to content

Commit

Permalink
common/compiler: fixed testSource (ethereum#18978)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasagredo authored and gzliudan committed Dec 21, 2024
1 parent 7220d23 commit 622527d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common/compiler/solidity_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 622527d

Please sign in to comment.