From 4587ceb69d2eeeb553235063ecfb9eef183f679b Mon Sep 17 00:00:00 2001 From: fearlessfe <505380967@qq.com> Date: Sat, 19 Oct 2024 10:59:08 +0800 Subject: [PATCH] fix: rpc method error in state network --- portalnetwork/state/network.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portalnetwork/state/network.go b/portalnetwork/state/network.go index ebb8fccd98..25008d78a1 100644 --- a/portalnetwork/state/network.go +++ b/portalnetwork/state/network.go @@ -197,7 +197,7 @@ func (h *StateNetwork) getStateRoot(blockHash common.Bytes32) (common.Bytes32, e arg := hexutil.Encode(contentKey) res := &discover.ContentInfo{} - err := h.client.CallContext(ctx, res, "portal_historyRecursiveFindContent", arg) + err := h.client.CallContext(ctx, res, "portal_historyGetContent", arg) if err != nil { return common.Bytes32{}, err }