Skip to content

Commit

Permalink
internal/ethapi: support for eip-1559 txs in clef (ethereum#22966)
Browse files Browse the repository at this point in the history
  • Loading branch information
gzliudan committed Aug 12, 2024
1 parent 5f8462f commit 8364ffa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions internal/ethapi/transaction_args.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,3 +278,9 @@ func (args *TransactionArgs) toTransaction() *types.Transaction {
}
return types.NewTx(data)
}

// ToTransaction converts the arguments to a transaction.
// This assumes that setDefaults has been called.
func (args *TransactionArgs) ToTransaction() *types.Transaction {
return args.toTransaction()
}

0 comments on commit 8364ffa

Please sign in to comment.