Skip to content

Commit

Permalink
Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
voloshinskii committed Jan 17, 2024
1 parent f373c46 commit 478b607
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/@core-js/src/Tonkeeper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ import { storeStateInit } from '@ton/ton';
import nacl from 'tweetnacl';
import { batteryState } from './managers/BatteryManager';
import { beginCell } from '@ton/core';
import { getWalletContract } from '../dist/service/walletService';
import { WalletVersion } from '../dist/entries/wallet';
import { ContractService, WalletVersion } from './service';

class PermissionsManager {
public notifications = true;
Expand Down Expand Up @@ -161,9 +160,9 @@ export class Tonkeeper {
}

public async obtainProofToken(keyPair: nacl.SignKeyPair) {
const contract = getWalletContract(
Buffer.from(keyPair.publicKey),
const contract = ContractService.getWalletContract(
WalletVersion.v4R2,
Buffer.from(keyPair.publicKey),
);
const stateInitCell = beginCell().store(storeStateInit(contract.init)).endCell();
const rawAddress = contract.address.toRawString();
Expand Down

0 comments on commit 478b607

Please sign in to comment.