use self._bcoin

This commit is contained in:
Sky Young 2018-10-04 12:05:27 -06:00
parent 1268b47d85
commit b139c33726
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ Bcoin.prototype.start = function(callback) {
self._bcoin.open().then(function() { self._bcoin.open().then(function() {
// Startup the wallet plugin // Startup the wallet plugin
self._walletdb = node.require('walletdb'); self._walletdb = self._bcoin.require('walletdb');
self._walletdb.open().then(function() { self._walletdb.open().then(function() {
// Continue bcoin startup // Continue bcoin startup

View File

@ -5,7 +5,7 @@
"node": ">=8.0.0" "node": ">=8.0.0"
}, },
"author": "BitPay <dev@bitpay.com>", "author": "BitPay <dev@bitpay.com>",
"version": "5.0.0-beta.75", "version": "5.0.0-beta.76",
"main": "./index.js", "main": "./index.js",
"repository": "git://github.com/oipwg/flocore-node.git", "repository": "git://github.com/oipwg/flocore-node.git",
"homepage": "https://github.com/oipwg/flocore-node", "homepage": "https://github.com/oipwg/flocore-node",