Skip to content

Commit

Permalink
tx: legacy use shared legacy isSigned
Browse files Browse the repository at this point in the history
  • Loading branch information
jochem-brouwer committed Nov 7, 2024
1 parent c9e855a commit 06fa07c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/tx/src/legacy/tx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,12 +181,7 @@ export class LegacyTx implements TransactionInterface<TransactionType.Legacy> {
}

public isSigned(): boolean {
const { v, r, s } = this
if (v === undefined || r === undefined || s === undefined) {
return false
} else {
return true
}
return Legacy.isSigned(this)
}

getEffectivePriorityFee(baseFee?: bigint): bigint {
Expand Down

0 comments on commit 06fa07c

Please sign in to comment.