From 1582a2e4853374eb080354b8a2b471099e91b891 Mon Sep 17 00:00:00 2001 From: VoR0220 Date: Thu, 8 Dec 2016 15:18:49 -0600 Subject: [PATCH] accounts/abi: needed to add a field for sprintf Signed-off-by: VoR0220 --- accounts/abi/method.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accounts/abi/method.go b/accounts/abi/method.go index b78c86f0d2..8e9c48aea6 100644 --- a/accounts/abi/method.go +++ b/accounts/abi/method.go @@ -117,7 +117,7 @@ func (m Method) String() string { if m.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 {