diff options
author | obscuren <geffobscura@gmail.com> | 2014-01-17 23:57:06 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-01-17 23:57:06 +0800 |
commit | df7967c5bbcdab3e37b198098b8fb9534979e42f (patch) | |
tree | ffdad736c3ff075dca7767e6dc0e8c586586f422 /block_manager_test.go | |
parent | 815313c759acaf7cf2e295a61fa58d5ccdb0d126 (diff) | |
download | go-tangerine-df7967c5bbcdab3e37b198098b8fb9534979e42f.tar go-tangerine-df7967c5bbcdab3e37b198098b8fb9534979e42f.tar.gz go-tangerine-df7967c5bbcdab3e37b198098b8fb9534979e42f.tar.bz2 go-tangerine-df7967c5bbcdab3e37b198098b8fb9534979e42f.tar.lz go-tangerine-df7967c5bbcdab3e37b198098b8fb9534979e42f.tar.xz go-tangerine-df7967c5bbcdab3e37b198098b8fb9534979e42f.tar.zst go-tangerine-df7967c5bbcdab3e37b198098b8fb9534979e42f.zip |
ECmul tmp
Diffstat (limited to 'block_manager_test.go')
-rw-r--r-- | block_manager_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block_manager_test.go b/block_manager_test.go index ca5e4140e..3dcf572fd 100644 --- a/block_manager_test.go +++ b/block_manager_test.go @@ -69,7 +69,7 @@ func TestVm(t *testing.T) { tx := NewTransaction("1e8a42ea8cce13", 100, []string{}) block := CreateBlock("", 0, "", "c014ba53", 0, 0, "", []*Transaction{ctrct, tx}) - db.Put(block.Hash(), block.MarshalRlp()) + db.Put(block.Hash(), block.RlpEncode()) bm := NewBlockManager() bm.ProcessBlock( block ) |