diff options
author | Joey Zhou <josephyzhou@gmail.com> | 2014-02-24 06:43:18 +0800 |
---|---|---|
committer | Joey Zhou <josephyzhou@gmail.com> | 2014-02-24 06:43:18 +0800 |
commit | 8ecb24f1141013a935b0f7e858ef7273d67de5e5 (patch) | |
tree | ddf70b6c757d5090111f762810972f6c011cd341 /ethutil | |
parent | 3a45cdeaf9682dea0407f827571353220eaf257b (diff) | |
download | dexon-8ecb24f1141013a935b0f7e858ef7273d67de5e5.tar dexon-8ecb24f1141013a935b0f7e858ef7273d67de5e5.tar.gz dexon-8ecb24f1141013a935b0f7e858ef7273d67de5e5.tar.bz2 dexon-8ecb24f1141013a935b0f7e858ef7273d67de5e5.tar.lz dexon-8ecb24f1141013a935b0f7e858ef7273d67de5e5.tar.xz dexon-8ecb24f1141013a935b0f7e858ef7273d67de5e5.tar.zst dexon-8ecb24f1141013a935b0f7e858ef7273d67de5e5.zip |
parse now returns byte[] instead of string
Diffstat (limited to 'ethutil')
-rw-r--r-- | ethutil/parsing_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethutil/parsing_test.go b/ethutil/parsing_test.go index 482eef3ee..69a5e9016 100644 --- a/ethutil/parsing_test.go +++ b/ethutil/parsing_test.go @@ -13,7 +13,7 @@ func TestCompile(t *testing.T) { } calc := (48 + 0*256 + 0*int64(math.Pow(256, 2))) - if Big(instr).Int64() != calc { + if BigD(instr).Int64() != calc { t.Error("Expected", calc, ", got:", instr) } } |