difftreelog
test(app-promo) fixed `get_frozen()` behaviour
in: master
1 file changed
tests/src/util/playgrounds/unique.tsdiffbeforeafterboth2401 }2401 }2402 async getFrozen(address: TSubstrateAccount): Promise<{ id: string, amount: bigint }[]> {2402 async getFrozen(address: TSubstrateAccount): Promise<{ id: string, amount: bigint }[]> {2403 const locks = await this.helper.api!.query.balances.freezes(address);2403 const locks = await this.helper.api!.query.balances.freezes(address);2404 return locks.map(lock => ({id: lock.id.toString(), amount: lock.amount.toBigInt()}));2404 return locks.map(lock => ({id: lock.id.toUtf8(), amount: lock.amount.toBigInt()}));2405 }2405 }2406}2406}24072407