aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/abi/bind/bind.go
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/abi/bind/bind.go')
-rw-r--r--accounts/abi/bind/bind.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/accounts/abi/bind/bind.go b/accounts/abi/bind/bind.go
index f58758088..4dce79b77 100644
--- a/accounts/abi/bind/bind.go
+++ b/accounts/abi/bind/bind.go
@@ -129,7 +129,7 @@ func Bind(types []string, abis []string, bytecodes []string, pkg string, lang La
return string(code), nil
}
// For all others just return as is for now
- return string(buffer.Bytes()), nil
+ return buffer.String(), nil
}
// bindType is a set of type binders that convert Solidity types to some supported