mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-11 14:33:52 +00:00
fix: test error
This commit is contained in:
parent
4587ceb69d
commit
df4e0d2032
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ type MockAPI struct {
|
||||||
header string
|
header string
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *MockAPI) HistoryRecursiveFindContent(contentKeyHex string) (*discover.ContentInfo, error) {
|
func (p *MockAPI) HistoryGetContent(contentKeyHex string) (*discover.ContentInfo, error) {
|
||||||
headerWithProof := &history.BlockHeaderWithProof{
|
headerWithProof := &history.BlockHeaderWithProof{
|
||||||
Header: hexutil.MustDecode(p.header),
|
Header: hexutil.MustDecode(p.header),
|
||||||
Proof: &history.BlockHeaderProof{
|
Proof: &history.BlockHeaderProof{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue