aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/abi/bind
diff options
context:
space:
mode:
authorJanos Guljas <janos@resenje.org>2017-12-14 17:35:49 +0800
committerJanos Guljas <janos@resenje.org>2017-12-14 17:36:12 +0800
commit47a801455966298d1d1519eebb955024c8f02b84 (patch)
tree5b8144ba4844092dc0bae599fc3314eaacf1a7b4 /accounts/abi/bind
parent19982f946735948478b6b7e7706f1b615f171d0d (diff)
parent3654aeaa4f87452ac5bc801a18808189595e2ef8 (diff)
downloadgo-tangerine-47a801455966298d1d1519eebb955024c8f02b84.tar
go-tangerine-47a801455966298d1d1519eebb955024c8f02b84.tar.gz
go-tangerine-47a801455966298d1d1519eebb955024c8f02b84.tar.bz2
go-tangerine-47a801455966298d1d1519eebb955024c8f02b84.tar.lz
go-tangerine-47a801455966298d1d1519eebb955024c8f02b84.tar.xz
go-tangerine-47a801455966298d1d1519eebb955024c8f02b84.tar.zst
go-tangerine-47a801455966298d1d1519eebb955024c8f02b84.zip
cmd/swarm: Merge branch 'master' into multiple-ens-endpoints
Fix a conflict in cmd/swarm envVarsOverride function.
Diffstat (limited to 'accounts/abi/bind')
-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