diff --git a/package.json b/package.json index 27237323..ee41322f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "scatter", - "version": "9.1.2", + "version": "9.2.0", "description": "Scatter Desktop Companion", "private": true, "main": "electron.js", diff --git a/src/migrations/versions/9.2.0.js b/src/migrations/versions/9.2.0.js index bd919e05..8202df70 100644 --- a/src/migrations/versions/9.2.0.js +++ b/src/migrations/versions/9.2.0.js @@ -13,5 +13,8 @@ export const m9_2_0 = async scatter => { return network; })); + if(!scatter.settings.networks.find(x => x.blockchain === Blockchains.TRX)) + scatter.settings.networks.push(await PluginRepository.plugin(Blockchains.TRX).getEndorsedNetwork()); + return true; }; \ No newline at end of file