Skip to content

Commit

Permalink
version and migration fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nsjames committed Oct 3, 2018
1 parent 920447f commit d0fa425
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scatter",
"version": "9.1.2",
"version": "9.2.0",
"description": "Scatter Desktop Companion",
"private": true,
"main": "electron.js",
Expand Down
3 changes: 3 additions & 0 deletions src/migrations/versions/9.2.0.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

0 comments on commit d0fa425

Please sign in to comment.