diff --git a/Lib9c b/Lib9c index cd378f26a..7b3f640e8 160000 --- a/Lib9c +++ b/Lib9c @@ -1 +1 @@ -Subproject commit cd378f26a8d187c08ea928a15ec988d394fc14a3 +Subproject commit 7b3f640e8eb1b42c9c8be1d2c1363e387b4797a8 diff --git a/NineChronicles.Headless/GraphTypes/StateQuery.cs b/NineChronicles.Headless/GraphTypes/StateQuery.cs index e35cf04dd..7f07af304 100644 --- a/NineChronicles.Headless/GraphTypes/StateQuery.cs +++ b/NineChronicles.Headless/GraphTypes/StateQuery.cs @@ -765,11 +765,6 @@ public StateQuery() { var agentAddress = new AgentAddress(context.GetArgument
("agentAddress")); var validatorAddress = context.GetArgument("validatorAddress"); - if (!(context.Source.WorldState.GetAgentState(agentAddress) is { } agentState)) - { - return null; - } - var repository = new ValidatorRepository(new World(context.Source.WorldState), new HallowActionContext { }); var delegatee = repository.GetValidatorDelegatee(validatorAddress); var share = repository.GetBond(delegatee, agentAddress).Share;