From 51ed3262e802fca71d6c167f903d9b144b31ecc1 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Tue, 14 Mar 2017 06:45:12 -0700 Subject: [PATCH] amount: fix function name collision. fixes #154. --- lib/btc/amount.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/btc/amount.js b/lib/btc/amount.js index 57ac7fa0..f0df4f39 100644 --- a/lib/btc/amount.js +++ b/lib/btc/amount.js @@ -404,7 +404,7 @@ Amount.serializeUnsafe = function serializeUnsafe(value, exp, num) { * @throws on parse error */ -Amount.value = function value(value, num) { +Amount.value = function _value(value, num) { if (util.isInt(value)) return value;