Skip to content

Commit

Permalink
Change payment amount to string
Browse files Browse the repository at this point in the history
  • Loading branch information
neerajvijay1997 committed Oct 13, 2023
1 parent 5c95270 commit 7a9ba6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/util/src/payments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ export class PaymentsManager {
vhash:string,
vsig:string
}> {
const voucher = await this.nitro.pay(destChannelId, Number(amount));
const voucher = await this.nitro.pay(destChannelId, amount);
assert(voucher.amount);

return {
Expand Down

0 comments on commit 7a9ba6b

Please sign in to comment.