Skip to content

Commit

Permalink
chore: Fix action query for temporal refund action
Browse files Browse the repository at this point in the history
  • Loading branch information
OnedgeLee committed Nov 20, 2024
1 parent a3db0de commit 94175a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion NineChronicles.Headless/GraphTypes/ActionQuery.cs
Original file line number Diff line number Diff line change
Expand Up @@ -591,9 +591,10 @@ public ActionQuery(StandaloneContext standaloneContext)
{
var addresses = context.GetArgument<List<Address>>("addresses");
var amounts = context.GetArgument<List<int>>("amounts");
var targets = addresses.Zip(amounts, (address, amount) => (address, amount));
return Encode(
context,
new FixToRefundFromNonValidator(addresses, amounts));
new FixToRefundFromNonValidator(targets));
});

RegisterHackAndSlash();
Expand Down

0 comments on commit 94175a3

Please sign in to comment.