From 8bbf879cb31e9cb28700773ed788421f9935ac36 Mon Sep 17 00:00:00 2001 From: obscuren Date: Fri, 10 Jan 2014 22:44:53 +0100 Subject: Moving the ethgo to individual packages --- rlp.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rlp.go') diff --git a/rlp.go b/rlp.go index 5366632f4..cee9da613 100644 --- a/rlp.go +++ b/rlp.go @@ -5,6 +5,7 @@ import ( "bytes" "math" "math/big" + "github.com/ethereum/ethutil-go" ) type RlpEncoder struct { @@ -54,7 +55,7 @@ func (attr *RlpDataAttribute) AsUint() uint64 { func (attr *RlpDataAttribute) AsBigInt() *big.Int { if a, ok := attr.dataAttrib.([]byte); ok { - return Big(string(a)) + return ethutil.Big(string(a)) } return big.NewInt(0) -- cgit v1.2.3