Skip to content

Commit

Permalink
Merge pull request #10419 from justinkook/fix/tokenWalletName
Browse files Browse the repository at this point in the history
Fix token walletName automatically updates
  • Loading branch information
matiu authored Dec 11, 2019
2 parents dd6bf43 + d05c0d0 commit c9d06ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/providers/profile/profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,10 @@ export class ProfileProvider {
if (opts.walletId && opts.walletId == wallet.id) {
this.logger.debug('Updating wallet from config ' + wallet.id);
this.updateWalletFromConfig(wallet);

This comment has been minimized.

Copy link
@Ro-stock

Ro-stock Dec 18, 2019

J

} else if (opts.walletId && opts.walletId.includes(wallet.id)) {
const tokenWallet = this.getWallet(opts.walletId);
this.logger.debug('Updating token wallet from config ' + opts.walletId);
this.updateWalletFromConfig(tokenWallet);
}
});
return Promise.resolve(true);
Expand Down

0 comments on commit c9d06ad

Please sign in to comment.