From c15b199281a28ddf13cf1e4aa60cecb0f2ac6f3b Mon Sep 17 00:00:00 2001 From: vetalcore Date: Mon, 14 Oct 2024 22:05:45 +0300 Subject: [PATCH] chore: fix get collateral utxo test --- packages/nami/src/adapters/collateral.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nami/src/adapters/collateral.test.ts b/packages/nami/src/adapters/collateral.test.ts index 317e06645..7b0b6e0b7 100644 --- a/packages/nami/src/adapters/collateral.test.ts +++ b/packages/nami/src/adapters/collateral.test.ts @@ -140,7 +140,7 @@ describe('useCollateral', () => { describe('getCollateralUtxo', () => { test('should return the UTXO that matches the tx ID and has enough ADA', async () => { - const utxo = [{ txId: 'txId' }, { coins: BigInt(5_000_000) }]; + const utxo = [{ txId: 'txId' }, { value: { coins: BigInt(5_000_000) } }]; const available$ = of([utxo]); const foundUtxo = await getCollateralUtxo(