diff --git a/lib/services/p2p/bcoin.js b/lib/services/p2p/bcoin.js index e8f60baa..93d797b2 100644 --- a/lib/services/p2p/bcoin.js +++ b/lib/services/p2p/bcoin.js @@ -25,7 +25,7 @@ Bcoin.prototype.start = function(callback) { self._bcoin.open().then(function() { // Startup the wallet plugin - self._walletdb = node.require('walletdb'); + self._walletdb = self._bcoin.require('walletdb'); self._walletdb.open().then(function() { // Continue bcoin startup diff --git a/package.json b/package.json index 3e936856..eb7b4648 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "node": ">=8.0.0" }, "author": "BitPay ", - "version": "5.0.0-beta.75", + "version": "5.0.0-beta.76", "main": "./index.js", "repository": "git://github.com/oipwg/flocore-node.git", "homepage": "https://github.com/oipwg/flocore-node",