aboutsummaryrefslogtreecommitdiffstats
path: root/core/block_processor_test.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-09-30 00:36:16 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-10-19 15:03:09 +0800
commit42c8afd44006b170c20159abaadc31cc7545bec2 (patch)
tree49f150caef8b09d1584dc9635382b3938fee45e1 /core/block_processor_test.go
parentb99fe27f8b4d37fe3838d52b682e99c85098ee59 (diff)
downloadgo-tangerine-42c8afd44006b170c20159abaadc31cc7545bec2.tar
go-tangerine-42c8afd44006b170c20159abaadc31cc7545bec2.tar.gz
go-tangerine-42c8afd44006b170c20159abaadc31cc7545bec2.tar.bz2
go-tangerine-42c8afd44006b170c20159abaadc31cc7545bec2.tar.lz
go-tangerine-42c8afd44006b170c20159abaadc31cc7545bec2.tar.xz
go-tangerine-42c8afd44006b170c20159abaadc31cc7545bec2.tar.zst
go-tangerine-42c8afd44006b170c20159abaadc31cc7545bec2.zip
core: differentiate receipt concensus and storage decoding
Diffstat (limited to 'core/block_processor_test.go')
-rw-r--r--core/block_processor_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/block_processor_test.go b/core/block_processor_test.go
index e0e5607b9..c2c85ebfa 100644
--- a/core/block_processor_test.go
+++ b/core/block_processor_test.go
@@ -70,7 +70,7 @@ func TestPutReceipt(t *testing.T) {
hash[0] = 2
receipt := new(types.Receipt)
- receipt.SetLogs(vm.Logs{&vm.Log{
+ receipt.Logs = vm.Logs{&vm.Log{
Address: addr,
Topics: []common.Hash{hash},
Data: []byte("hi"),
@@ -79,7 +79,7 @@ func TestPutReceipt(t *testing.T) {
TxIndex: 0,
BlockHash: hash,
Index: 0,
- }})
+ }}
PutReceipts(db, types.Receipts{receipt})
receipt = GetReceipt(db, common.Hash{})