Skip to content

Commit d57a72d

Browse files
committed
fix NFT mock, add log
1 parent 659197d commit d57a72d

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

src/services/polling.service.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ class PollingService {
154154
// perform full sync first
155155
console.debug("PollingService: starting full sync");
156156
await this.pollAndUpdate(PollingMode.ALL);
157+
console.debug(
158+
`PollingService: finished full sync, sleeping for ${this.pollingIntervalMs} ms..`,
159+
);
157160
await sleep(this.pollingIntervalMs);
158161

159162
console.debug(

src/test/nft.mock.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
import { CollectionOwnership, Token, TokenWithBalance } from "fireblocks-sdk";
1+
import {
2+
CollectionOwnership,
3+
NFTOwnershipStatus,
4+
Token,
5+
TokenWithBalance,
6+
} from "fireblocks-sdk";
27

38
const ownedNftsMock: TokenWithBalance[] = [
49
{
@@ -17,6 +22,7 @@ const ownedNftsMock: TokenWithBalance[] = [
1722
ownershipLastUpdateTime: 1709475840,
1823
ncwId: "b53d5f62-b722-46d6-85f7-db6c3f37db53",
1924
ncwAccountId: 0,
25+
status: NFTOwnershipStatus.LISTED,
2026
},
2127
{
2228
id: "NFT-c950363ce0f4dcc763e78be5f50b427cd2429185",
@@ -34,6 +40,7 @@ const ownedNftsMock: TokenWithBalance[] = [
3440
ownershipLastUpdateTime: 1709475864,
3541
ncwId: "b53d5f62-b722-46d6-85f7-db6c3f37db53",
3642
ncwAccountId: 0,
43+
status: NFTOwnershipStatus.LISTED,
3744
},
3845
];
3946

0 commit comments

Comments
 (0)