Skip to content

Commit

Permalink
fix processing free methods in RoyaltyModuleMethodRoyaltyEntrySubstate
Browse files Browse the repository at this point in the history
  • Loading branch information
PawelPawelec-RDX committed Jul 17, 2023
1 parent 7cc4f4c commit 5a87df8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1011,11 +1011,11 @@ private async Task<ExtendLedgerReport> ProcessTransactions(ReadWriteDbContext db
{
componentMethodRoyaltiesToAdd.Add(new ComponentMethodRoyaltyEntryHistory
{
Id = sequences.ComponentMethodRoyaltyEntryHistorySequence,
Id = sequences.ComponentMethodRoyaltyEntryHistorySequence++,
FromStateVersion = stateVersion,
EntityId = referencedEntity.DatabaseId,
MethodName = methodRoyaltyEntry.Key.MethodName,
RoyaltyAmount = methodRoyaltyEntry.Value?.RoyaltyAmount.ToJson(),
RoyaltyAmount = methodRoyaltyEntry.Value?.ToJson(),
IsLocked = methodRoyaltyEntry.IsLocked,
});
}
Expand Down

0 comments on commit 5a87df8

Please sign in to comment.