Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
sorokin0andrey committed May 22, 2024
1 parent 19abf2f commit 26a7c12
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/mobile/src/core/DevMenu/DevMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@ export const DevMenu: FC = () => {
<List.Item onPress={handleComponents} title="Components" />
</>
)}
<List.Item
title="Copy wallets info"
onPress={copyText(JSON.stringify(tk.walletsStore.data.wallets))}
/>
</List>
{/* <CellSection>
<PopupSelect
Expand Down
3 changes: 3 additions & 0 deletions packages/mobile/src/wallet/Tonkeeper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import { AccountsStream } from './streaming';
import { InteractionManager } from 'react-native';
import { Biometry } from './Biometry';
import { Toast } from '@tonkeeper/uikit';
import { debugLog } from '$utils/debugLog';

type TonkeeperOptions = {
storage: Storage;
Expand Down Expand Up @@ -592,6 +593,8 @@ export class Tonkeeper {
walletConfig.version === WalletContractVersion.LockupV1 ? walletConfig : undefined,
);

debugLog(`${walletConfig.identifier} addresses`, addresses);

const accountStream =
walletConfig.network === WalletNetwork.testnet
? this.accountsStream.testnet
Expand Down

0 comments on commit 26a7c12

Please sign in to comment.