mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-31 17:51:33 +02:00
multi: comprehensive typo fixes across all packages
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
72a5bc8648
commit
a93736d21e
@@ -30,7 +30,7 @@ func newElementFromStr(s string, index index) (*element, error) {
|
||||
}
|
||||
|
||||
// derive computes one shachain element from another by applying a series of
|
||||
// bit flips and hasing operations based on the starting and ending index.
|
||||
// bit flips and hashing operations based on the starting and ending index.
|
||||
func (e *element) derive(toIndex index) (*element, error) {
|
||||
fromIndex := e.index
|
||||
|
||||
@@ -71,7 +71,7 @@ func (e *element) isEqual(e2 *element) bool {
|
||||
const (
|
||||
// maxHeight is used to determine the maximum allowable index and the
|
||||
// length of the array required to order to derive all previous hashes
|
||||
// by index. The entries of this array as also knowns as buckets.
|
||||
// by index. The entries of this array as also known as buckets.
|
||||
maxHeight uint8 = 48
|
||||
|
||||
// rootIndex is an index which corresponds to the root hash.
|
||||
|
Reference in New Issue
Block a user