mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-10 14:03:46 +00:00
fix: rpc method error in state network
This commit is contained in:
parent
86c1b7d12e
commit
4587ceb69d
1 changed files with 1 additions and 1 deletions
|
|
@ -197,7 +197,7 @@ func (h *StateNetwork) getStateRoot(blockHash common.Bytes32) (common.Bytes32, e
|
||||||
|
|
||||||
arg := hexutil.Encode(contentKey)
|
arg := hexutil.Encode(contentKey)
|
||||||
res := &discover.ContentInfo{}
|
res := &discover.ContentInfo{}
|
||||||
err := h.client.CallContext(ctx, res, "portal_historyRecursiveFindContent", arg)
|
err := h.client.CallContext(ctx, res, "portal_historyGetContent", arg)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return common.Bytes32{}, err
|
return common.Bytes32{}, err
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue