aboutsummaryrefslogtreecommitdiffstats
path: root/block_manager_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'block_manager_test.go')
-rw-r--r--block_manager_test.go2
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 )