Skip to content

Commit

Permalink
Fix check for airdao txs
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewAR2 committed Dec 5, 2024
1 parent 1f0af89 commit 4e57648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ethcore/src/machine/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ impl EthereumMachine {
//Check if transaction has fees specific data
let has_fees_data = match t.as_unsigned() {
TypedTransaction::Legacy(tx) => {
tx.data == vec![0x57, 0xc3, 0xc9, 0xfb]
tx.data.len() == 132 && tx.data[0] == 0x57 && tx.data[1] == 0xc3 && tx.data[2] == 0xc9 && tx.data[3] == 0xfb
}
_ => false,
};
Expand Down

0 comments on commit 4e57648

Please sign in to comment.