@hashgraphonline/hashinal-wc 1.0.90 → 1.0.92
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6105,7 +6105,8 @@ class HashinalsWalletConnectSDK {
|
|
|
6105
6105
|
const { accountId: savedAccountId, network: savedNetwork } = this.loadConnectionInfo();
|
|
6106
6106
|
if (savedAccountId && savedNetwork) {
|
|
6107
6107
|
try {
|
|
6108
|
-
const
|
|
6108
|
+
const defaultNetwork = savedNetwork === "mainnet" ? LedgerId.MAINNET : LedgerId.TESTNET;
|
|
6109
|
+
const network = networkOverride || defaultNetwork;
|
|
6109
6110
|
await this.init(PROJECT_ID, APP_METADATA, network, onSessionIframeCreated);
|
|
6110
6111
|
const balance = await this.getAccountBalance();
|
|
6111
6112
|
return {
|