mirror of
https://github.com/fullstack-cash/fullstack-gatsby-theme-bch-wallet.git
synced 2026-09-22 17:22:05 -07:00
Fixed wallet creation
This commit is contained in:
Generated
+319
-1528
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user