browser: expose wallet to rpc.

This commit is contained in:
Christopher Jeffrey 2017-01-17 18:03:34 -08:00
parent 569c18241f
commit 7f0acd5103
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -233,6 +233,7 @@ node.chain.on('block', addItem);
node.mempool.on('tx', addItem);
node.open().then(function() {
node.rpc.wallet = node.wallet;
node.connect().then(function() {
node.startSync();