mtx: rename subtractFee to subtractIndex.

This commit is contained in:
Christopher Jeffrey 2017-08-26 12:37:08 -07:00
parent 3c2c8ea955
commit 9d48c1385b
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -1228,7 +1228,7 @@ MTX.prototype.selectCoins = function selectCoins(coins, options) {
* @param {Amount} fee
*/
MTX.prototype.subtractFee = function subtractFee(index, fee) {
MTX.prototype.subtractIndex = function subtractIndex(index, fee) {
assert(typeof index === 'number');
assert(typeof fee === 'number');