Skip to content

Commit 0c49916

Browse files
committed
fix issues from release
1 parent 2803d3c commit 0c49916

4 files changed

Lines changed: 3 additions & 4 deletions

File tree

packages/apps/fortune/exchange-oracle/server/src/modules/job/job.service.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import {
77
StorageClient,
88
} from '@human-protocol/sdk';
99
import { HttpService } from '@nestjs/axios';
10-
import { BadRequestException, NotFoundException } from '@nestjs/common';
1110
import { ConfigService } from '@nestjs/config';
1211
import { Test } from '@nestjs/testing';
1312
import { of } from 'rxjs';

packages/apps/job-launcher/server/src/modules/job/job.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,7 @@ export class JobService {
960960
const value = decoded.value as bigint;
961961
if (
962962
from.toLowerCase() === escrowAddress.toLowerCase() &&
963-
to.toLowerCase() === signer.address.toLowerCase()
963+
to.toLowerCase() === (await signer.getAddress()).toLowerCase()
964964
) {
965965
return value;
966966
}

packages/apps/job-launcher/server/src/modules/web3/web3.service.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { faker } from '@faker-js/faker/.';
1+
import { faker } from '@faker-js/faker';
22
import { HMToken__factory } from '@human-protocol/core/typechain-types';
33
import { ChainId, OperatorUtils, Role } from '@human-protocol/sdk';
44
import { ConfigService } from '@nestjs/config';

packages/apps/job-launcher/server/test/fixtures/web3.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { faker } from '@faker-js/faker/.';
1+
import { faker } from '@faker-js/faker';
22
import { NonceManager } from 'ethers';
33

44
export function createSignerMock() {

0 commit comments

Comments
 (0)