amount: fix function name collision. fixes #154.

This commit is contained in:
Christopher Jeffrey 2017-03-14 06:45:12 -07:00
parent f2c53e2e08
commit 51ed3262e8
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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;