Skip to content

Commit 5b13028

Browse files
committed
chore(wallets): Whitelist wallet Rabby and Wigwam
1 parent cb7ffb2 commit 5b13028

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/common/store/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,4 +429,4 @@ export const ALLOWED_WALLETS_PEGIN: string[] = [
429429
WALLET_NAMES.TREZOR.long_name,
430430
WALLET_NAMES.LEDGER.long_name,
431431
];
432-
export const ALLOWED_WALLETS_PEGOUT: string[] = ['MetaMask', 'Ledger', 'Trezor'];
432+
export const ALLOWED_WALLETS_PEGOUT: string[] = ['MetaMask', 'Ledger', 'Trezor', 'Rabby Wallet', 'Wigwam'];

src/common/store/session/getters.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export const getters: GetterTree<SessionState, RootState> = {
5252
const bitcoinWallet = rootState.pegInTx?.bitcoinWallet;
5353
const { walletInfo } = useWalletInfo();
5454
const walletName = walletInfo?.name;
55+
console.log('walletName', walletName);
5556

5657
if (bitcoinWallet && bitcoinWallet !== constants.WALLET_NAMES.REOWN.long_name) {
5758
response.pegin = constants.ALLOWED_WALLETS_PEGIN.includes(bitcoinWallet as string);

0 commit comments

Comments
 (0)