Skip to content

Commit 30675b8

Browse files
committed
fix parse
1 parent 4df2afb commit 30675b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/bitcore-wallet/bin/cli-utils.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ Utils.UNITS2 = {
247247
};
248248

249249
Utils.parseAmount = function(text, coin) {
250+
if (!text) return;
250251
if (!_.isString(text))
251252
text = text.toString();
252253

0 commit comments

Comments
 (0)