Skip to content

Commit

Permalink
nit fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Gregory Edison <gregory.edison1993@gmail.com>
  • Loading branch information
greged93 committed Nov 21, 2024
1 parent b897fe2 commit ddb1291
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/primitives/src/alloy_compat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ mod tests {
assert_eq!(l1_message_tx.value, U256::ZERO);
assert_eq!(l1_message_tx.sender, address!("7885bcbd5cecef1336b5300fb5186a12ddd8c478"));
} else {
panic!("Expected Deposit transaction");
panic!("Expected L1 message transaction");
}
}
}
2 changes: 1 addition & 1 deletion crates/scroll/primitives/src/l1_transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ impl TxL1Message {

/// Encode the fields of the transaction without a RLP header.
/// <https://github.com/scroll-tech/go-ethereum/blob/9fff27e4f34fb5097100ed76ee725ce056267f4b/core/types/l1_message_tx.go#L12-L19>
pub(crate) fn rlp_encode_fields(&self, out: &mut dyn BufMut) {
fn rlp_encode_fields(&self, out: &mut dyn BufMut) {
self.queue_index.encode(out);
self.gas_limit.encode(out);
self.to.encode(out);
Expand Down

0 comments on commit ddb1291

Please sign in to comment.