Skip to content

Commit

Permalink
fix: sdk test
Browse files Browse the repository at this point in the history
Signed-off-by: jaime-iobermudez <[email protected]>
  • Loading branch information
jaime-iobermudez committed Nov 7, 2024
1 parent a90d92d commit 36fe942
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/__tests__/jest-setup-file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ let freezeKey: any = new ContractId(PROXY_CONTRACT_ID);
let wipeKey: any = new ContractId(PROXY_CONTRACT_ID);
const supplyKey = new ContractId(PROXY_CONTRACT_ID);
let pauseKey: any = new ContractId(PROXY_CONTRACT_ID);
const feeScheduleKey = CLIENT_ACCOUNT_ED25519.publicKey;
const feeScheduleKey = CLIENT_PUBLIC_KEY_ED25519;
let autoRenewPeriod = 1000;
const autoRenewAccount = AUTO_RENEW_ACCOUNT;

Expand Down Expand Up @@ -878,7 +878,7 @@ jest.mock('../src/port/out/hs/hts/HTSTransactionAdapter', () => {
account: Account,
): InitializationData {
user_account = account;
user_account.publicKey = account.privateKey?.publicKey;
user_account.publicKey = CLIENT_PUBLIC_KEY_ED25519;
Injectable.registerTransactionHandler(this); // `this` now correctly refers to the singletonInstance
const response = {
account: account,
Expand Down

0 comments on commit 36fe942

Please sign in to comment.