From fbb698d4202e01bee5e6b3a36e94595105c0f7c7 Mon Sep 17 00:00:00 2001 From: PraetorP Date: Tue, 30 May 2023 12:01:19 +0000 Subject: [PATCH] test(app-promo): fixed `get_frozen()` behaviour --- --- a/tests/src/util/playgrounds/unique.ts +++ b/tests/src/util/playgrounds/unique.ts @@ -2401,7 +2401,7 @@ } async getFrozen(address: TSubstrateAccount): Promise<{ id: string, amount: bigint }[]> { const locks = await this.helper.api!.query.balances.freezes(address); - return locks.map(lock => ({id: lock.id.toString(), amount: lock.amount.toBigInt()})); + return locks.map(lock => ({id: lock.id.toUtf8(), amount: lock.amount.toBigInt()})); } } -- gitstuff