Skip to content

Commit 5fde04c

Browse files
committed
chore(settings): update default RGS host
1 parent bf15597 commit 5fde04c

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

src/store/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const persistConfig = {
3232
key: 'root',
3333
storage: reduxStorage,
3434
// increase version after store shape changes
35-
version: 50,
35+
version: 51,
3636
stateReconciler: autoMergeLevel2,
3737
blacklist: ['receive', 'ui'],
3838
migrate: createMigrate(migrations, { debug: __ENABLE_MIGRATION_DEBUG__ }),

src/store/migrations/index.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,15 @@ const migrations = {
9393
},
9494
};
9595
},
96+
51: (state): PersistedState => {
97+
return {
98+
...state,
99+
settings: {
100+
...state.settings,
101+
rapidGossipSyncUrl: 'https://rgs.blocktank.to/snapshot/',
102+
},
103+
};
104+
},
96105
};
97106

98107
export default migrations;

src/store/shapes/settings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export const initialSettingsState: TSettings = {
9090
selectedCurrency: 'USD',
9191
selectedLanguage: 'english',
9292
customElectrumPeers: defaultElectrumPeer,
93-
rapidGossipSyncUrl: 'https://rapidsync.lightningdevkit.org/snapshot/',
93+
rapidGossipSyncUrl: 'https://rgs.blocktank.to/snapshot/',
9494
coinSelectAuto: true,
9595
coinSelectPreference: 'small',
9696
receivePreference: defaultReceivePreference,

0 commit comments

Comments
 (0)