Skip to content

Commit

Permalink
fix: prevent custom output in recovery mode
Browse files Browse the repository at this point in the history
  • Loading branch information
iamcrazycoder committed Jul 27, 2023
1 parent eed26cd commit b24d170
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/sdk/src/transactions/OrdTransaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,11 @@ export class OrdTransaction {
address: this.destinationAddress,
value: this.postage
});
}

this.#outs.forEach((out) => {
psbt.addOutput(out);
});
this.#outs.forEach((out) => {
psbt.addOutput(out);
});
}

if (change > 600) {
let changeAddress = this.#inscribePayTx.address;
Expand Down

0 comments on commit b24d170

Please sign in to comment.