From efb373a97a9ecc1036ef6812f9f23a4cb762dc60 Mon Sep 17 00:00:00 2001 From: villesundell Date: Wed, 6 Jul 2016 12:14:09 +0300 Subject: [PATCH] Fixed "alloted" to be "allotted" Allotted is the correct form: http://www.thefreedictionary.com/allotted --- ethdb/database.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ethdb/database.go b/ethdb/database.go index dffb42e2b0..29da4a197a 100644 --- a/ethdb/database.go +++ b/ethdb/database.go @@ -36,14 +36,14 @@ import ( var OpenFileLimit = 64 -// cacheRatio specifies how the total alloted cache is distributed between the +// cacheRatio specifies how the total allotted cache is distributed between the // various system databases. var cacheRatio = map[string]float64{ "dapp": 0.0, "chaindata": 1.0, } -// handleRatio specifies how the total alloted file descriptors is distributed +// handleRatio specifies how the total allotted file descriptors is distributed // between the various system databases. var handleRatio = map[string]float64{ "dapp": 0.0, @@ -79,7 +79,7 @@ func NewLDBDatabase(file string, cache int, handles int) (*LDBDatabase, error) { if handles < 16 { handles = 16 } - glog.V(logger.Info).Infof("Alloted %dMB cache and %d file handles to %s", cache, handles, file) + glog.V(logger.Info).Infof("Allotted %dMB cache and %d file handles to %s", cache, handles, file) // Open the db and recover any potential corruptions db, err := leveldb.OpenFile(file, &opt.Options{