Skip to content

Commit

Permalink
Merge pull request #4374 from Luis-Fernando-Molina/develop
Browse files Browse the repository at this point in the history
Contribution: Bug Fixed
  • Loading branch information
Luis-Fernando-Molina authored Oct 5, 2022
2 parents d9db3e6 + 943217a commit 2f8ebb1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Projects/Social-Trading/NT/Modules/Storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@ exports.newSocialTradingModulesStorage = function newSocialTradingModulesStorage
}
}
/*
We can not continue if we cannot identify the most up to date node.
*/
if (p2pNetworkNodeMostUpToDate === undefined){
return
}
/*
We will check that the node most up to date is not ourselves.
*/
if (p2pNetworkNodeMostUpToDate.node.id === thisObject.p2pNetworkNode.node.id) {
Expand Down

0 comments on commit 2f8ebb1

Please sign in to comment.