aboutsummaryrefslogtreecommitdiffstats
path: root/trie
diff options
context:
space:
mode:
authorGuillaume Ballet <gballet@gmail.com>2019-07-05 18:13:21 +0800
committerPéter Szilágyi <peterke@gmail.com>2019-07-05 18:13:21 +0800
commitdcc4adfcd76753c9bf567ed1b6fc352f898638e7 (patch)
tree3f7ba2a04b325e575a551648e3c348c238198299 /trie
parentd9c75cd10e94da21d7f57e2a7528b08154cd486b (diff)
downloadgo-tangerine-dcc4adfcd76753c9bf567ed1b6fc352f898638e7.tar
go-tangerine-dcc4adfcd76753c9bf567ed1b6fc352f898638e7.tar.gz
go-tangerine-dcc4adfcd76753c9bf567ed1b6fc352f898638e7.tar.bz2
go-tangerine-dcc4adfcd76753c9bf567ed1b6fc352f898638e7.tar.lz
go-tangerine-dcc4adfcd76753c9bf567ed1b6fc352f898638e7.tar.xz
go-tangerine-dcc4adfcd76753c9bf567ed1b6fc352f898638e7.tar.zst
go-tangerine-dcc4adfcd76753c9bf567ed1b6fc352f898638e7.zip
cmd/geth: wrong memory size sanitizing on OpenBSD (#19793)
Diffstat (limited to 'trie')
-rw-r--r--trie/sync_bloom.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/trie/sync_bloom.go b/trie/sync_bloom.go
index 7b5b7488a..2182d1c43 100644
--- a/trie/sync_bloom.go
+++ b/trie/sync_bloom.go
@@ -70,7 +70,7 @@ func NewSyncBloom(memory uint64, database ethdb.Iteratee) *SyncBloom {
// Create the bloom filter to track known trie nodes
bloom, err := bloomfilter.New(memory*1024*1024*8, 3)
if err != nil {
- panic(fmt.Sprintf("failed to create bloom: %v", err)) // Can't happen, here for sanity
+ panic(fmt.Sprintf("failed to create bloom: %v", err))
}
log.Info("Allocated fast sync bloom", "size", common.StorageSize(memory*1024*1024))