add list option
This commit is contained in:
parent
ab4264b74c
commit
07cdeeb7cc
|
@ -25,9 +25,9 @@ bitcoind.on('error', function(err) {
|
|||
bitcoind.on('open', function(status) {
|
||||
print('status="%s"', status);
|
||||
|
||||
setTimeout(function() {
|
||||
if (argv.list) {
|
||||
print(bitcoind.wallet.listAccounts());
|
||||
}, 2000);
|
||||
}
|
||||
|
||||
if (argv.blocks) {
|
||||
getBlocks(bitcoind);
|
||||
|
|
Loading…
Reference in New Issue