mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: rm some direct header access (#13633)
This commit is contained in:
@ -543,11 +543,11 @@ mod tests {
|
||||
let mut block2 = block;
|
||||
|
||||
// Set the hashes of block1 and block2
|
||||
block1.block.header.set_block_number(10);
|
||||
block1.block.header.set_hash(block1_hash);
|
||||
block1.block.set_block_number(10);
|
||||
block1.block.set_hash(block1_hash);
|
||||
|
||||
block2.block.header.set_block_number(11);
|
||||
block2.block.header.set_hash(block2_hash);
|
||||
block2.block.set_block_number(11);
|
||||
block2.block.set_hash(block2_hash);
|
||||
|
||||
// Create a random receipt object, receipt1
|
||||
let receipt1 = OpReceipt::Legacy(Receipt {
|
||||
|
||||
Reference in New Issue
Block a user