Skip to content

Commit

Permalink
Fix runtime binding for UnstakedBakerId
Browse files Browse the repository at this point in the history
  • Loading branch information
Groxan committed May 1, 2024
1 parent 435801d commit 8ec0e6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tzkt.Api/Repositories/AccountRepository.Bakers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public async Task<int> GetDelegatesCount(BoolParameter active)
StakedBalance = row.StakedBalance,
StakedPseudotokens = row.StakedPseudotokens,
UnstakedBalance = row.UnstakedBalance,
UnstakedBaker = row.UnstakedBakerId == null ? null : Accounts.GetAlias(row.UnstakedBakerId.Value),
UnstakedBaker = row.UnstakedBakerId == null ? null : Accounts.GetAlias(row.UnstakedBakerId),
TotalStakedBalance = row.TotalStakedBalance,
ExternalStakedBalance = row.ExternalStakedBalance,
ExternalUnstakedBalance = row.ExternalUnstakedBalance,
Expand Down

0 comments on commit 8ec0e6e

Please sign in to comment.