support for wallets 1-1
This commit is contained in:
parent
4a7a31e8e9
commit
9f881087a2
1 changed files with 7 additions and 0 deletions
|
|
@ -127,6 +127,13 @@ firstWallet.updateIndexes(function() {
|
|||
firstWallet.createTx(destAddr, amount, '', {}, function(err, ntxid) {
|
||||
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);
|
||||
});
|
||||
}
|
||||
|
||||
var l = w.length;
|
||||
_.each(w, function(dummy, i) {
|
||||
console.log('\t Signing with copayer', i + 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue