aboutsummaryrefslogtreecommitdiffstats
path: root/core/block_validator_test.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-10-22 20:43:21 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-11-19 22:03:32 +0800
commite86e0ecdc8a977db2ff5df60dca3cad8355ace6d (patch)
tree5944b33220457ad5da31b33e15774882c2e6201f /core/block_validator_test.go
parentae37a8013d5a348bdb21d4a66d5f462e0baf7cd8 (diff)
downloadgo-tangerine-e86e0ecdc8a977db2ff5df60dca3cad8355ace6d.tar
go-tangerine-e86e0ecdc8a977db2ff5df60dca3cad8355ace6d.tar.gz
go-tangerine-e86e0ecdc8a977db2ff5df60dca3cad8355ace6d.tar.bz2
go-tangerine-e86e0ecdc8a977db2ff5df60dca3cad8355ace6d.tar.lz
go-tangerine-e86e0ecdc8a977db2ff5df60dca3cad8355ace6d.tar.xz
go-tangerine-e86e0ecdc8a977db2ff5df60dca3cad8355ace6d.tar.zst
go-tangerine-e86e0ecdc8a977db2ff5df60dca3cad8355ace6d.zip
core, eth, miner, xeth: clean up tx/receipt db accessors
Diffstat (limited to 'core/block_validator_test.go')
-rw-r--r--core/block_validator_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/block_validator_test.go b/core/block_validator_test.go
index a0694f067..70953d76d 100644
--- a/core/block_validator_test.go
+++ b/core/block_validator_test.go
@@ -81,7 +81,7 @@ func TestPutReceipt(t *testing.T) {
Index: 0,
}}
- PutReceipts(db, types.Receipts{receipt})
+ WriteReceipts(db, types.Receipts{receipt})
receipt = GetReceipt(db, common.Hash{})
if receipt == nil {
t.Error("expected to get 1 receipt, got none.")