fixing create-wallet script

This commit is contained in:
Chris Troutner
2022-10-09 06:39:42 -07:00
parent dd662e9fe9
commit 6dda29bb14
+3 -3
View File
@@ -16,9 +16,9 @@ async function createWallet () {
} }
// Wait for the wallet to be created. // Wait for the wallet to be created.
this.bchWallet = new BchWallet(undefined, advancedConfig) const bchWallet = new BchWallet(undefined, advancedConfig)
await this.bchWallet.walletInfoPromise await bchWallet.walletInfoPromise
const walletData = this.bchWallet.walletInfo const walletData = bchWallet.walletInfo
walletData.nextAddress = 1 walletData.nextAddress = 1
// Save the wallet file to disk. // Save the wallet file to disk.