Skip to content

Commit

Permalink
chore: fix get collateral utxo test
Browse files Browse the repository at this point in the history
  • Loading branch information
vetalcore committed Oct 14, 2024
1 parent adaacb1 commit c15b199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nami/src/adapters/collateral.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit c15b199

Please sign in to comment.