diff --git a/lib/bcoin/walletdb.js b/lib/bcoin/walletdb.js index 980d59cc..874dce51 100644 --- a/lib/bcoin/walletdb.js +++ b/lib/bcoin/walletdb.js @@ -621,6 +621,7 @@ WalletDB.prototype.create = function create(id, options, callback) { options.witness = options.witness !== false; options.provider = new Provider(self); + options.network = self.network; wallet = new bcoin.wallet(options); self.saveJSON(wallet.id, wallet.toJSON(), function(err) {