Skip to content

Commit

Permalink
Force rebuild at CI
Browse files Browse the repository at this point in the history
Signed-off-by: HenrikJannsen <[email protected]>
  • Loading branch information
HenrikJannsen committed Jan 6, 2023
1 parent fa82990 commit bc5045d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ public List<Tuple2<Long, String>> getReceivers(int burningManSelectionHeight,
private static long getSpendableAmount(int numOutputs, long inputAmount, long txFeePerVbyte) {
// Output size: 32 bytes
// Tx size without outputs: 51 bytes
int txSize = 51 + numOutputs * 32; // min value: txSize=83
long minerFee = txFeePerVbyte * txSize; // min value: minerFee=830
int txSize = 51 + numOutputs * 32; // Min value: txSize=83
long minerFee = txFeePerVbyte * txSize; // Min value: minerFee=830
// We need to make sure we have at least 1000 sat as defined in TradeWalletService
minerFee = Math.max(TradeWalletService.MIN_DELAYED_PAYOUT_TX_FEE.value, minerFee);
return inputAmount - minerFee;
Expand Down

0 comments on commit bc5045d

Please sign in to comment.