cmd/clef, signer: support for eip-1559 txs in clef (#22966)
This commit is contained in:
committed by
GitHub
parent
c503f98f6d
commit
7a00378e2b
@ -265,3 +265,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()
|
||||
}
|
||||
|
Reference in New Issue
Block a user