chore: rm associated type (#13292)

This commit is contained in:
Matthias Seitz
2024-12-11 12:48:39 +01:00
committed by GitHub
parent fa340b5321
commit f2141925b0
11 changed files with 17 additions and 90 deletions

View File

@ -70,8 +70,6 @@ impl OpTransactionSigned {
}
impl SignedTransaction for OpTransactionSigned {
type Type = OpTxType;
fn tx_hash(&self) -> &TxHash {
self.hash.get_or_init(|| self.recalculate_hash())
}