From 7453042ccd1c33dd1bc5a53d68ee66155426e8f9 Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Mon, 3 Nov 2014 08:45:38 -0300 Subject: [PATCH] help --- util/swipeWallet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/swipeWallet.js b/util/swipeWallet.js index 448fc5bdb..743904002 100755 --- a/util/swipeWallet.js +++ b/util/swipeWallet.js @@ -37,7 +37,6 @@ var args = process.argv; var requiredCopayers = program.required; var extPrivKeys = program.keys; -var totalCopayers = extPrivKeys.length; var destAddr = program.destination; var amount = program.amount; @@ -47,6 +46,7 @@ if (!requiredCopayers || !extPrivKeys || !extPrivKeys.length || !destAddr){ } +var totalCopayers = extPrivKeys.length; var addr = new bitcore.Address(destAddr); if (!addr.isValid()) { console.log('\tBad destination address'); //TODO