mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 14:46:42 +00:00
accounts/abi: needed to add a field for sprintf
Signed-off-by: VoR0220 <rj@erisindustries.com>
This commit is contained in:
parent
2b811b4a18
commit
1582a2e485
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ func (m Method) String() string {
|
||||||
if m.Payable {
|
if m.Payable {
|
||||||
payable = "payable "
|
payable = "payable "
|
||||||
}
|
}
|
||||||
return fmt.Sprintf("function %v(%v) %sreturns(%v)", m.Name, strings.Join(inputs, ", "), constant, payable, strings.Join(outputs, ", "))
|
return fmt.Sprintf("function %v(%v)%s %sreturns(%v)", m.Name, strings.Join(inputs, ", "), constant, payable, strings.Join(outputs, ", "))
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m Method) Id() []byte {
|
func (m Method) Id() []byte {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue