mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
refactor: simplify Receipts implementation (#8710)
This commit is contained in:
@ -34,7 +34,7 @@ impl FromReader for ReceiptFileClient {
|
||||
where
|
||||
B: AsyncReadExt + Unpin,
|
||||
{
|
||||
let mut receipts = Receipts::new();
|
||||
let mut receipts = Receipts::default();
|
||||
|
||||
// use with_capacity to make sure the internal buffer contains the entire chunk
|
||||
let mut stream =
|
||||
|
||||
Reference in New Issue
Block a user