Skip to content

Commit 80097e4

Browse files
fix(wallet): getCollateral callback now passes empty array to wallet if no colateral found
1 parent d1544fc commit 80097e4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/wallet/src/cip30.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,6 @@ const getCollateralCallback = async (
231231
logger: Logger
232232
) => {
233233
const availableUtxosWithoutAssets = getUtxosWithoutAssets(availableUtxos);
234-
if (availableUtxosWithoutAssets.length === 0) return null;
235234
try {
236235
// Send the amount and filtered available UTxOs to the callback
237236
// Client can then choose to mark a UTxO set as unspendable

0 commit comments

Comments
 (0)