diff --git a/portalnetwork/state/network_test.go b/portalnetwork/state/network_test.go index 965db5c3fc..24504e7f3b 100644 --- a/portalnetwork/state/network_test.go +++ b/portalnetwork/state/network_test.go @@ -37,7 +37,7 @@ type MockAPI struct { header string } -func (p *MockAPI) HistoryRecursiveFindContent(contentKeyHex string) (*discover.ContentInfo, error) { +func (p *MockAPI) HistoryGetContent(contentKeyHex string) (*discover.ContentInfo, error) { headerWithProof := &history.BlockHeaderWithProof{ Header: hexutil.MustDecode(p.header), Proof: &history.BlockHeaderProof{