diff --git a/Lib9c b/Lib9c index 9a8015fa8..d263262d8 160000 --- a/Lib9c +++ b/Lib9c @@ -1 +1 @@ -Subproject commit 9a8015fa83d703dbc2fabee06a537570c80d1dd8 +Subproject commit d263262d8f295d47646e60728d1d1d6372d93ddd diff --git a/NineChronicles.Headless/GraphTypes/StateQuery.cs b/NineChronicles.Headless/GraphTypes/StateQuery.cs index c09099019..36e057e78 100644 --- a/NineChronicles.Headless/GraphTypes/StateQuery.cs +++ b/NineChronicles.Headless/GraphTypes/StateQuery.cs @@ -829,7 +829,7 @@ public StateQuery() var validatorAddress = address; var validatorRepository = new ValidatorRepository( new World(context.Source.WorldState), new HallowActionContext { }); - if (validatorRepository.TryGetValidatorDelegatee(validatorAddress, out var validatorDelegatee)) + if (validatorRepository.TryGetDelegatee(validatorAddress, out var validatorDelegatee)) { var bond = validatorRepository.GetBond(validatorDelegatee, address); var totalDelegated = validatorDelegatee.Metadata.TotalDelegatedFAV;