bitcore-lib-doge
Advanced tools
Comparing version 8.25.27 to 8.25.28
@@ -975,3 +975,3 @@ 'use strict'; | ||
var changeAmount = available - fee; | ||
if (changeAmount > Transaction.DUST_AMOUNT) { | ||
if (changeAmount >= Transaction.DUST_AMOUNT) { | ||
this._changeIndex = this.outputs.length; | ||
@@ -984,2 +984,3 @@ this._addOutput(new Output({ | ||
this._changeIndex = undefined; | ||
this._fee = fee + changeAmount; | ||
} | ||
@@ -986,0 +987,0 @@ }; |
{ | ||
"name": "bitcore-lib-doge", | ||
"version": "8.25.27", | ||
"version": "8.25.28", | ||
"description": "A pure and powerful JavaScript Dogecoin library.", | ||
@@ -55,3 +55,3 @@ "author": "BitPay <dev@bitpay.com>", | ||
"license": "MIT", | ||
"gitHead": "29765a2fd4824dd9706323f16964d9db32135d07" | ||
"gitHead": "713d540373cd442327f7fed479c2b69dfd239ab7" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3977274
86641