mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-17 10:20:44 +00:00
internal/ethapi: support for eip-1559 txs in clef (#22966)
This commit is contained in:
parent
4c096de9b0
commit
ef1dbd0772
1 changed files with 6 additions and 0 deletions
|
|
@ -279,3 +279,9 @@ func (args *TransactionArgs) toTransaction() *types.Transaction {
|
||||||
}
|
}
|
||||||
return types.NewTx(data)
|
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()
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue