fix readme example.
This commit is contained in:
parent
487d78a644
commit
156abd44e5
@ -103,7 +103,7 @@ libuv I'm guessing. This is being investigated.
|
|||||||
bitcoind.js has direct access to the global wallet:
|
bitcoind.js has direct access to the global wallet:
|
||||||
|
|
||||||
``` js
|
``` js
|
||||||
var bitcoind = require('bitcoind.js)();
|
var bitcoind = require('bitcoind.js')();
|
||||||
bitcoind.on('open', function() {
|
bitcoind.on('open', function() {
|
||||||
console.log(bitcoind.wallet.listAccounts());
|
console.log(bitcoind.wallet.listAccounts());
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user