diff --git a/CHANGELOG.md b/CHANGELOG.md index 9592c6143..205db0658 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,11 @@ ## 1.3.0 Release Date: _unreleased_ -- added support for new transaction types (flash transactions) that are gonna occur on protocol updates. -- moved vm_type to `package_code_history` table from package in `entity` table. +- Added support for new transaction types (flash transactions) that are gonna occur on protocol updates. +- Moved vm_type to `package_code_history` table from package in `entity` table. - `vm_type`, `code_hash_hex` and `code_hex` are returned as collection (it's allowed after protocol update to have multiple codes per package). Previous properties will return empty strings to keep contract compatibility. -- created new `package_blueprint_aggregate_history` table which will hold pointers to all package blueprints. -- created new `package_code_aggregate_history` table which will hold pointers to all package codes. +- Created new `package_blueprint_aggregate_history` table which will hold pointers to all package blueprints. +- Created new `package_code_aggregate_history` table which will hold pointers to all package codes. ## 1.2.4 Release Date: 4.01.2024 diff --git a/src/RadixDlt.NetworkGateway.PostgresIntegration/Services/TransactionBalanceChangesService.cs b/src/RadixDlt.NetworkGateway.PostgresIntegration/Services/TransactionBalanceChangesService.cs index f9e1a7137..069822801 100644 --- a/src/RadixDlt.NetworkGateway.PostgresIntegration/Services/TransactionBalanceChangesService.cs +++ b/src/RadixDlt.NetworkGateway.PostgresIntegration/Services/TransactionBalanceChangesService.cs @@ -147,7 +147,12 @@ await Parallel.ForEachAsync(transactions, options, async (transaction, cancellat throw balanceChangesResult.FailureResponse.OriginalApiException; } - var balanceChanges = balanceChangesResult.SuccessResponse.CommittedTransactionOutcomes.Single(); + var balanceChanges = balanceChangesResult.SuccessResponse.CommittedTransactionOutcomes.FirstOrDefault(); + + if (balanceChanges == null) + { + return; + } await _observers.ForEachAsync(x => x.PostHandleOutcomeRequest(transaction.StateVersion, selectedNode.Name));