Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Commit

Permalink
Merge 0e5f530 into 2749c4a
Browse files Browse the repository at this point in the history
  • Loading branch information
kwgithubusername committed Mar 30, 2016
2 parents 2749c4a + 0e5f530 commit 8c86278
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/payment.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ function Payment (payment) {
sweepFees: [0,0,0,0,0,0], // sweep absolute fee per each fee per kb (1,2,3,4,5,6)
maxSpendableAmounts: [0,0,0,0,0,0], // max amount per each fee-per-kb
confEstimation: "unknown",
txSize: 0 // transaciton size
txSize: 0, // transaciton size
dustThreshold: 0
};

var p = payment ? payment : initialState;
Expand Down Expand Up @@ -395,6 +396,7 @@ Payment.prebuild = function (absoluteFee) {
payment.sweepAmount = max.amount;
payment.sweepFee = max.fee;
payment.balance = Transaction.sumOfCoins(payment.coins);
payment.dustThreshold = dust;

// compute max spendable limits per each fee-per-kb
var maxSpendablesPerFeePerKb = function(e){
Expand Down

0 comments on commit 8c86278

Please sign in to comment.