Skip to content

Commit

Permalink
Merge pull request #543 from secretkeylabs/imamahzafar/bignumber-cove…
Browse files Browse the repository at this point in the history
…rsion-change

Use toString to convert value to BigNumber
  • Loading branch information
yknl committed Aug 1, 2023
2 parents e31964b + fa4d6a4 commit 540da83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/hooks/useSendBtcRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function useSendBtcRequest() {
request.payload?.recipients?.forEach(async (value) => {
const recipient: Recipient = {
address: value.address,
amountSats: new BigNumber(value.amountSats),
amountSats: new BigNumber(value.amountSats.toString()),
};
recipients.push(recipient);
});
Expand Down

0 comments on commit 540da83

Please sign in to comment.