Skip to content

Commit

Permalink
Logs showing most of bitcoind values working (tests pass)
Browse files Browse the repository at this point in the history
  • Loading branch information
jotapea committed Jul 9, 2021
1 parent f25b124 commit e2a4b73
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/OnChain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,23 @@ export const OnChainMixin = (superclass) =>
fee = 0
}

console.log(`vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv`);
console.log(`vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv`);
console.log(`vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv`);
console.log(`onChainBalance: ${onChainBalance}`);
console.log(`onChainBalance2: ${onChainBalance2}`);
console.log(`estimatedFee: ${estimatedFee}`);
// console.log(`estimatedFee2: ${JSON.stringify(estimatedFee2)}`); // {"errors":["Insufficient data or no feerate found"],"blocks":2}
console.log(`this.user.withdrawFee: ${this.user.withdrawFee}`);
console.log(`balance.total_in_BTC: ${balance.total_in_BTC}`);
console.log(`fee: ${fee}`);
console.log(`fee2: ${fee2}`);
console.log(`amount: ${amount}`);
console.log(`amountToSend: ${amountToSend}`);
console.log(`vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv`);
console.log(`vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv`);
console.log(`vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv`);

fee += this.user.withdrawFee

{
Expand Down

0 comments on commit e2a4b73

Please sign in to comment.