add list option

This commit is contained in:
Christopher Jeffrey 2014-10-01 11:20:39 -07:00
parent ab4264b74c
commit 07cdeeb7cc
1 changed files with 2 additions and 2 deletions

View File

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