aboutsummaryrefslogtreecommitdiffstats
path: root/sendCoins.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-03-10 15:11:47 -0700
committerAdam Soltys <[email protected]>2020-03-10 15:11:47 -0700
commitd7b9a6e6d9b33ea974bfdb6b8bf38573906c7d01 (patch)
tree04f46e3a1b3f787c57a64241522044474a3c16d6 /sendCoins.js
parent629701a87138e2fedb69e260bc3951cb567b322c (diff)
downloadcoinos-server-d7b9a6e6d9b33ea974bfdb6b8bf38573906c7d01.tar.gz
coinos-server-d7b9a6e6d9b33ea974bfdb6b8bf38573906c7d01.zip
parse tx with javascript
Diffstat (limited to 'sendCoins.js')
-rw-r--r--sendCoins.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/sendCoins.js b/sendCoins.js
index 6d871ca4..1c9f6937 100644
--- a/sendCoins.js
+++ b/sendCoins.js
@@ -33,10 +33,8 @@ module.exports = (addresses, app, bc, db, emit) => async (req, res) => {
}
}
- l.info(total);
total = (total - change) + fee;
let amount = total - fee;
- l.info(fee, total, amount, change);
try {
await db.transaction(async transaction => {