Fixed wallet creation

This commit is contained in:
Chris Troutner
2020-06-18 21:25:43 -07:00
parent cfd00cde15
commit 176d649e43
3 changed files with 320 additions and 1536 deletions
+319 -1528
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -15,7 +15,7 @@
"gatsby-plugin-sharp": "^2.6.9",
"gatsby-source-filesystem": "^2.3.8",
"gatsby-transformer-sharp": "^2.5.3",
"minimal-slp-wallet": "1.3.3",
"minimal-slp-wallet": "1.3.4",
"prop-types": "^15.7.2",
"react": "^16.12.0",
"react-dom": "^16.12.0",
@@ -53,13 +53,6 @@ class NewWallet extends React.Component {
try {
const bchWalletLib = new _this.BchWallet()
await bchWalletLib.walletInfoPromise // Wait for wallet to be created.
console.log(
`bchWalletLib.walletInfo: ${JSON.stringify(
bchWalletLib.walletInfo,
null,
2
)}`
)
const walletInfo = bchWalletLib.walletInfo
walletInfo.from = "created"