help
This commit is contained in:
parent
8b4e866472
commit
7453042ccd
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue