From 3da1bf8ca18f54d9bd2c8c110854dc071ee3898b Mon Sep 17 00:00:00 2001 From: Zach Date: Tue, 12 Dec 2017 18:05:47 +0000 Subject: all: use gometalinter.v2, fix new gosimple issues (#15650) --- accounts/abi/bind/bind.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'accounts/abi/bind') 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 -- cgit v1.2.3