Skip to content

Commit

Permalink
fix: fix connex
Browse files Browse the repository at this point in the history
  • Loading branch information
davidecarpini committed Feb 5, 2024
1 parent 0bb3759 commit 71551fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/dapp-kit/src/utils/create-wallet.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Connex } from '@vechain/connex';
import * as ConnexLib from '@vechain/connex';
import type {
ConnexWallet,
DAppKitOptions,
Expand Down Expand Up @@ -36,12 +36,12 @@ export const createWallet = ({
throw new Error('User is not in a Sync wallet');
}

const vendor = new Connex.Vendor(genesisId, 'sync');
const vendor = new ConnexLib.Connex.Vendor(genesisId, 'sync');

return new CertificateBasedWallet(convertVendorToSigner(vendor));
}
case 'sync2': {
const vendor = new Connex.Vendor(genesisId, 'sync2');
const vendor = new ConnexLib.Connex.Vendor(genesisId, 'sync2');

return new CertificateBasedWallet(convertVendorToSigner(vendor));
}
Expand Down

0 comments on commit 71551fc

Please sign in to comment.