From 6b0ddd141e2e12bb09b33e14e67aed4d5a68d66c Mon Sep 17 00:00:00 2001 From: Matthew Halpern Date: Wed, 27 Mar 2019 09:11:24 -0700 Subject: core, eth, les, light: store transaction receipts without txHash and gasCost --- les/handler_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'les') diff --git a/les/handler_test.go b/les/handler_test.go index c1db65cf3..c659f8088 100644 --- a/les/handler_test.go +++ b/les/handler_test.go @@ -292,7 +292,7 @@ func testGetReceipt(t *testing.T, protocol int) { block := bc.GetBlockByNumber(i) hashes = append(hashes, block.Hash()) - receipts = append(receipts, rawdb.ReadReceipts(server.db, block.Hash(), block.NumberU64())) + receipts = append(receipts, rawdb.ReadRawReceipts(server.db, block.Hash(), block.NumberU64())) } // Send the hash request and verify the response cost := server.tPeer.GetRequestCost(GetReceiptsMsg, len(hashes)) -- cgit v1.2.3