fix: test error

This commit is contained in:
fearlessfe 2024-10-19 16:11:50 +08:00 committed by Chen Kai
parent 4587ceb69d
commit df4e0d2032

View file

@ -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{