Skip to content

Commit

Permalink
reduce fee (#509)
Browse files Browse the repository at this point in the history
  • Loading branch information
bordalix authored Dec 20, 2023
1 parent 7526a3f commit b0ea334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/domain/pset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ export class PsetBuilder {
const updater = new Updater(pset).addInputs(ins).addOutputs(outs);
// we add 100% to the min relay fee in order to be sure that the transaction will be accepted by the network
// some inputs and outputs may be added later to pay the fees
const relayFee = (await chainSource.getRelayFee()) * 2;
const relayFee = (await chainSource.getRelayFee()) * 1.1;
await chainSource.close();

const sats1000Bytes = relayFee * 10 ** 8;
Expand Down

0 comments on commit b0ea334

Please sign in to comment.