mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
feat: add clone into consensus (#12999)
This commit is contained in:
@ -142,7 +142,7 @@ where
|
||||
let l1_block_info = self.block_info.l1_block_info.read().clone();
|
||||
|
||||
let mut encoded = Vec::with_capacity(valid_tx.transaction().encoded_length());
|
||||
let tx: TransactionSigned = valid_tx.transaction().clone().into_consensus().into();
|
||||
let tx: TransactionSigned = valid_tx.transaction().clone_into_consensus().into();
|
||||
tx.encode_2718(&mut encoded);
|
||||
|
||||
let cost_addition = match l1_block_info.l1_tx_data_fee(
|
||||
|
||||
Reference in New Issue
Block a user