Skip to content

Commit a29c7bf

Browse files
committed
refactor(walletconnect): revert unnecessary rename to keep diff minimal ([#14](#29428 (comment)))
1 parent dfbebe7 commit a29c7bf

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

app/core/WalletConnect/WalletConnect2Session.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -445,13 +445,13 @@ class WalletConnect2Session {
445445
);
446446

447447
if (accounts.length === 0) {
448-
const effectiveApprovedAccounts = getPermittedAccounts(this.channelId);
449-
if (effectiveApprovedAccounts.length > 0) {
448+
const approvedAccounts = getPermittedAccounts(this.channelId);
449+
if (approvedAccounts.length > 0) {
450450
DevLogger.log(
451451
`WC2::updateSession found approved accounts`,
452-
effectiveApprovedAccounts,
452+
approvedAccounts,
453453
);
454-
accounts = effectiveApprovedAccounts;
454+
accounts = approvedAccounts;
455455
} else {
456456
const referencedAdapterNamespaces =
457457
proposalReferencedAdapterNamespaces({

0 commit comments

Comments
 (0)