eth: use consistent receiver name for downloadTester (#1797)

This commit is contained in:
wit liu 2025-12-04 10:34:05 +08:00 committed by GitHub
parent dfaa7fc19f
commit 10ac141b76
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -82,8 +82,8 @@ func newTester() *downloadTester {
return tester return tester
} }
func (db *downloadTester) TrieDB() *trie.Database { func (dl *downloadTester) TrieDB() *trie.Database {
return db.triedb return dl.triedb
} }
// terminate aborts any operations on the embedded downloader and releases all // terminate aborts any operations on the embedded downloader and releases all
@ -342,7 +342,7 @@ func (dl *downloadTester) Config() *params.ChainConfig {
return &config return &config
} }
func (bc *downloadTester) InterruptInsert(on bool) { func (dl *downloadTester) InterruptInsert(on bool) {
} }
type downloadTesterPeer struct { type downloadTesterPeer struct {