Skip to content

Commit

Permalink
fix: Bigint wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
1160007652 committed Oct 12, 2022
1 parent cbf4501 commit fdd2a4c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions dist/services/fee.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/services/fee.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions src/services/fee.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,15 @@ export const getTransferOperation = async (
ownerMemo?.clone(),
tracingPolicies,
walletInfo.keypair,
amount,
BigInt(amount.toString()),
);
} else {
transferOp = transferOp.add_input_no_tracing(
txoRef,
assetRecord,
ownerMemo?.clone(),
walletInfo.keypair,
amount,
BigInt(amount.toString()),
);
}
});
Expand All @@ -98,7 +98,7 @@ export const getTransferOperation = async (

if (isTraceable) {
transferOp = transferOp.add_output_with_tracing(
utxoNumbers,
BigInt(utxoNumbers.toString()),
toPublickey,
tracingPolicies,
assetCode,
Expand All @@ -107,7 +107,7 @@ export const getTransferOperation = async (
);
} else {
transferOp = transferOp.add_output_no_tracing(
utxoNumbers,
BigInt(utxoNumbers.toString()),
toPublickey,
assetCode,
!!blindIsAmount,
Expand Down

0 comments on commit fdd2a4c

Please sign in to comment.