diff options
author | Haoping Ku <haoping.ku@dexon.org> | 2018-07-17 17:35:18 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2018-07-17 17:35:18 +0800 |
commit | 434c497f83c208b48c97d396513aa5deb5916b5a (patch) | |
tree | 6ffb51e635b82f9b3864c7f40ceb050017cfa292 /common | |
parent | aed24cf020bd11c3b20a7011b96c02e41894fa32 (diff) | |
download | dexon-consensus-434c497f83c208b48c97d396513aa5deb5916b5a.tar dexon-consensus-434c497f83c208b48c97d396513aa5deb5916b5a.tar.gz dexon-consensus-434c497f83c208b48c97d396513aa5deb5916b5a.tar.bz2 dexon-consensus-434c497f83c208b48c97d396513aa5deb5916b5a.tar.lz dexon-consensus-434c497f83c208b48c97d396513aa5deb5916b5a.tar.xz dexon-consensus-434c497f83c208b48c97d396513aa5deb5916b5a.tar.zst dexon-consensus-434c497f83c208b48c97d396513aa5deb5916b5a.zip |
Fix typos and add .gitignore (#2)
* Fix typos and add .gitignore
* Add more rule on .gitignore
Diffstat (limited to 'common')
-rw-r--r-- | common/types.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/types.go b/common/types.go index a52aabf..35d8036 100644 --- a/common/types.go +++ b/common/types.go @@ -34,7 +34,7 @@ func (h Hash) String() string { return hex.EncodeToString([]byte(h[:])) } -// Equal compares if two hash are the same. +// Equal compares if two hashes are the same. func (h Hash) Equal(hp Hash) bool { return bytes.Compare([]byte(h[:]), []byte(hp[:])) == 0 } |