v1
This commit is contained in:
parent
40a13ecef8
commit
bec13978d6
1 changed files with 6 additions and 1 deletions
|
|
@ -130,7 +130,12 @@ firstWallet.updateIndexes(function() {
|
|||
var amount = balance - DFLT_FEE;
|
||||
firstWallet.createTx(destAddr, amount, '', {}, function(err, ntxid) {
|
||||
console.log('\n\t### Tx Proposal Created...\n\tWith copayer 0 signature.');
|
||||
if (requiredCopayers === 1) {
|
||||
if (!ntxid)
|
||||
throw new Error('Counld not create tx' + err);
|
||||
|
||||
console.log('\n\t### Tx Proposal Created... With copayer 0 signature.');
|
||||
|
||||
if (requiredCopayers ===1) {
|
||||
firstWallet.sendTx(ntxid, function(txid) {
|
||||
console.log('\t ####### SENT TXID:', txid);
|
||||
process.exit(1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue