Skip to content

Commit

Permalink
fix: payment creation in withdrawal flow
Browse files Browse the repository at this point in the history
  • Loading branch information
Polybius93 committed Jul 1, 2024
1 parent b8b3662 commit e865450
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/dlc-handlers/software-wallet-dlc-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,10 @@ export class SoftwareWalletDLCHandler {
customFeeRate?: bigint
): Promise<Transaction> {
try {
const { fundingPayment, multisigPayment } = this.getPayment();
const { fundingPayment, multisigPayment } = await this.createPayments(
vault.uuid,
attestorGroupPublicKey
);

if (multisigPayment.address === undefined || fundingPayment.address === undefined) {
throw new Error('Payment Address is undefined');
Expand Down

0 comments on commit e865450

Please sign in to comment.