This commit is contained in:
Matias Alejo Garcia 2014-11-03 08:45:38 -03:00
parent 8b4e866472
commit 7453042ccd
1 changed files with 1 additions and 1 deletions

View File

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