Skip to content

Commit d0fa425

Browse files
committed
version and migration fix
1 parent 920447f commit d0fa425

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "scatter",
3-
"version": "9.1.2",
3+
"version": "9.2.0",
44
"description": "Scatter Desktop Companion",
55
"private": true,
66
"main": "electron.js",

src/migrations/versions/9.2.0.js

+3
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,8 @@ export const m9_2_0 = async scatter => {
1313
return network;
1414
}));
1515

16+
if(!scatter.settings.networks.find(x => x.blockchain === Blockchains.TRX))
17+
scatter.settings.networks.push(await PluginRepository.plugin(Blockchains.TRX).getEndorsedNetwork());
18+
1619
return true;
1720
};

0 commit comments

Comments
 (0)