mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: make block field private (#13628)
This commit is contained in:
@ -299,7 +299,7 @@ mod tests {
|
||||
|
||||
let mut receipts = Vec::new();
|
||||
for block in &blocks {
|
||||
for transaction in &block.body.transactions {
|
||||
for transaction in &block.body().transactions {
|
||||
receipts
|
||||
.push((receipts.len() as u64, random_receipt(&mut rng, transaction, Some(0))));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user