mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: make transaction type fields private (#13915)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -330,7 +330,7 @@ mod tests {
|
||||
writer.append_receipt(*next_tx_num, &receipt).unwrap();
|
||||
} else {
|
||||
// Used as ID for validation
|
||||
tx.transaction.set_nonce(*next_tx_num);
|
||||
tx.transaction_mut().set_nonce(*next_tx_num);
|
||||
writer.append_transaction(*next_tx_num, &tx).unwrap();
|
||||
}
|
||||
*next_tx_num += 1;
|
||||
|
||||
Reference in New Issue
Block a user