After calling the walletManager's addChains method, due to the findIndex logic problem, newChainRecords traverse always overwrites the first item in this.chainRecords. The same problem in the code below, when a new walletRepo is pushed to this.walletRepos.
After calling the
walletManager
'saddChains
method, due to thefindIndex
logic problem,newChainRecords
traverse always overwrites the first item inthis.chainRecords
. The same problem in the code below, when a new walletRepo is pushed tothis.walletRepos
.