mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
perf(validate-tx-pool): fast non-allocating is_local (#13096)
This commit is contained in:
@ -1624,6 +1624,11 @@ impl<T> RecoveredTx<T> {
|
||||
self.signer
|
||||
}
|
||||
|
||||
/// Reference to the signer of transaction recovered from signature
|
||||
pub const fn signer_ref(&self) -> &Address {
|
||||
&self.signer
|
||||
}
|
||||
|
||||
/// Returns a reference to [`TransactionSigned`]
|
||||
pub const fn as_signed(&self) -> &T {
|
||||
&self.signed_transaction
|
||||
|
||||
Reference in New Issue
Block a user