accounts/abi: needed to add a field for sprintf

Signed-off-by: VoR0220 <rj@erisindustries.com>
This commit is contained in:
VoR0220 2016-12-08 15:18:49 -06:00
parent 2b811b4a18
commit 1582a2e485
No known key found for this signature in database
GPG key ID: D4AB109D9B5D6386

View file

@ -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 {