core, eth, miner, xeth: clean up tx/receipt db accessors

This commit is contained in:
Péter Szilágyi
2015-11-19 16:03:32 +02:00
parent ae37a8013d
commit e86e0ecdc8
11 changed files with 359 additions and 235 deletions
+1 -1
View File
@@ -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.")