aboutsummaryrefslogtreecommitdiffstats
path: root/rlp.go
diff options
context:
space:
mode:
Diffstat (limited to 'rlp.go')
-rw-r--r--rlp.go3
1 files changed, 2 insertions, 1 deletions
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)