Skip to content

Commit 10ac141

Browse files
authored
eth: use consistent receiver name for downloadTester (#1797)
1 parent dfaa7fc commit 10ac141

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

eth/downloader/downloader_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ func newTester() *downloadTester {
8282
return tester
8383
}
8484

85-
func (db *downloadTester) TrieDB() *trie.Database {
86-
return db.triedb
85+
func (dl *downloadTester) TrieDB() *trie.Database {
86+
return dl.triedb
8787
}
8888

8989
// terminate aborts any operations on the embedded downloader and releases all
@@ -342,7 +342,7 @@ func (dl *downloadTester) Config() *params.ChainConfig {
342342
return &config
343343
}
344344

345-
func (bc *downloadTester) InterruptInsert(on bool) {
345+
func (dl *downloadTester) InterruptInsert(on bool) {
346346
}
347347

348348
type downloadTesterPeer struct {

0 commit comments

Comments
 (0)