Browse Source

spv listunspent interest rounding

v0.25
pbca26 7 years ago
parent
commit
8dc8a0214e
  1. 2
      routes/shepherd/electrum/listunspent.js
  2. 2
      version
  3. 2
      version_build

2
routes/shepherd/electrum/listunspent.js

@ -60,7 +60,7 @@ module.exports = (shepherd) => {
amount: Number(_utxoItem.value) * 0.00000001,
amountSats: _utxoItem.value,
locktime: decodedTx.format.locktime,
interest: interest,
interest: Number(interest.toFixed(8)),
interestSats: Math.floor(interest * 100000000),
confirmations: Number(_utxoItem.height) === 0 ? 0 : currentHeight - _utxoItem.height,
spendable: true,

2
version

@ -1,3 +1,3 @@
version=0.2.0.24e
version=0.2.0.24f
type=e-beta
minversion=0.2.0.2

2
version_build

@ -1 +1 @@
0.2.0.24e-beta
0.2.0.24f-beta
Loading…
Cancel
Save