Skip to content

Commit

Permalink
fix: 馃悰 allow exec manual to be batched with affirm instruction
Browse files Browse the repository at this point in the history
update handling of instruction weights to allow affirm instruction to be
batched with execute manually. The RPC underestimates the weight if the
instruction has not yet been affirmed
  • Loading branch information
polymath-eric committed Mar 4, 2024
1 parent 0fb95f9 commit 7e5b064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/procedures/executeManualInstruction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export async function prepareExecuteManualInstruction(
fungibleTokens,
nonFungibleTokens,
offChainAssets,
consumedWeight,
skipAffirmationCheck ? null : consumedWeight,
],
};
}
Expand Down

0 comments on commit 7e5b064

Please sign in to comment.