This commit is contained in:
vahoo5 2023-05-28 17:23:57 +02:00
parent 828547d891
commit d767f77e2e
2 changed files with 8 additions and 6 deletions

View file

@ -1639,6 +1639,7 @@ func (s *BundleAPI) SearchMaxWallet(ctx context.Context, args MaxWalletSearchArg
callBundleArgs := CallBundleArgs{
Transactions: append(args.Transactions, args.MaxWalletTransaction),
BlockNumbers: append(args.BlockNumbers, args.MaxWalletBlockNumber),
StateBlockNumberOrHash: args.StateBlockNumberOrHash,
}
result, err := doCallBundle(ctx, s.b, s.chain, callBundleArgs, overrides)
if err != nil {

View file

@ -67,6 +67,7 @@ type MaxWalletSearchArgs struct {
MaxWalletTransaction TransactionArgs `json:"maxWalletTransaction"`
BlockNumbers []rpc.BlockNumber `json:"blockNumbers"`
MaxWalletBlockNumber rpc.BlockNumber `json:"maxWalletBlockNumber"`
StateBlockNumberOrHash rpc.BlockNumberOrHash `json:"stateBlockNumber"`
}
type CallBundleArgs struct {