diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-10-22 20:43:21 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-11-19 22:03:32 +0800 |
commit | e86e0ecdc8a977db2ff5df60dca3cad8355ace6d (patch) | |
tree | 5944b33220457ad5da31b33e15774882c2e6201f /core/block_validator_test.go | |
parent | ae37a8013d5a348bdb21d4a66d5f462e0baf7cd8 (diff) | |
download | dexon-e86e0ecdc8a977db2ff5df60dca3cad8355ace6d.tar dexon-e86e0ecdc8a977db2ff5df60dca3cad8355ace6d.tar.gz dexon-e86e0ecdc8a977db2ff5df60dca3cad8355ace6d.tar.bz2 dexon-e86e0ecdc8a977db2ff5df60dca3cad8355ace6d.tar.lz dexon-e86e0ecdc8a977db2ff5df60dca3cad8355ace6d.tar.xz dexon-e86e0ecdc8a977db2ff5df60dca3cad8355ace6d.tar.zst dexon-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.go | 2 |
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.") |