Skip to content

Commit c9d06ad

Browse files
authored
Merge pull request #10419 from justinkook/fix/tokenWalletName
Fix token walletName automatically updates
2 parents dd6bf43 + d05c0d0 commit c9d06ad

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/providers/profile/profile.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,10 @@ export class ProfileProvider {
408408
if (opts.walletId && opts.walletId == wallet.id) {
409409
this.logger.debug('Updating wallet from config ' + wallet.id);
410410
this.updateWalletFromConfig(wallet);
411+
} else if (opts.walletId && opts.walletId.includes(wallet.id)) {
412+
const tokenWallet = this.getWallet(opts.walletId);
413+
this.logger.debug('Updating token wallet from config ' + opts.walletId);
414+
this.updateWalletFromConfig(tokenWallet);
411415
}
412416
});
413417
return Promise.resolve(true);

0 commit comments

Comments
 (0)