Skip to content

Commit

Permalink
fix: remove incorrect postage amount from fees
Browse files Browse the repository at this point in the history
  • Loading branch information
iamcrazycoder committed Jul 27, 2023
1 parent 6912522 commit c0d520b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sdk/src/transactions/OrdTransaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export class OrdTransaction {
throw new Error("Failed to build PSBT. Transaction not ready.");
}

let fees = this.postage + this.#feeForWitnessData!;
let fees = this.#feeForWitnessData!;

if (this.#recovery) {
fees = calculateTxFeeWithRate(1, 0, this.feeRate, 1);
Expand Down

0 comments on commit c0d520b

Please sign in to comment.