mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
Fix crash
This commit is contained in:
parent
0d8f19200d
commit
a6cb9caa28
1 changed files with 14 additions and 10 deletions
|
|
@ -530,8 +530,12 @@ func (args *TransactionArgs) ToTransaction() *types.Transaction {
|
|||
DeployerData: *args.DeployerData,
|
||||
BuilderFee: (*big.Int)(args.BuilderFee),
|
||||
ValidationGasLimit: uint64(*args.ValidationGas),
|
||||
PaymasterValidationGasLimit: uint64(*args.PaymasterGas),
|
||||
PostOpGas: uint64(*args.PostOpGas),
|
||||
}
|
||||
if args.PaymasterGas != nil {
|
||||
aatx.PaymasterValidationGasLimit = uint64(*args.PaymasterGas)
|
||||
}
|
||||
if args.PostOpGas != nil {
|
||||
aatx.PostOpGas = uint64(*args.PostOpGas)
|
||||
}
|
||||
data = &aatx
|
||||
hash := types.NewTx(data).Hash()
|
||||
|
|
|
|||
Loading…
Reference in a new issue