Skip to content

Commit

Permalink
Workaround for no-op non-fungible withdrawals
Browse files Browse the repository at this point in the history
  • Loading branch information
krzlabrdx committed Aug 16, 2023
1 parent a55decc commit 3284aa9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@ private async Task<ExtendLedgerReport> ProcessTransactions(ReadWriteDbContext db
? LedgerTransactionMarkerEventType.Withdrawal
: LedgerTransactionMarkerEventType.Deposit;

if (nonFungibleIds?.Any() != true)
if (nonFungibleIds == null)
{
throw new InvalidOperationException("Unable to process data_json structure, expected fields[0].elements to be present");
}
Expand Down

0 comments on commit 3284aa9

Please sign in to comment.