diff options
author | Maran <maran.hidskes@gmail.com> | 2014-04-09 22:40:55 +0800 |
---|---|---|
committer | Maran <maran.hidskes@gmail.com> | 2014-04-09 22:40:55 +0800 |
commit | 272b135b74931fd159d4e50a2328ea32a73f787c (patch) | |
tree | 38b88269750f1db0a5f91ab04671cd9479e18c48 /ethutil/mnemonic.go | |
parent | 335dc9e6874160bb1c1059d676e8842523a732e0 (diff) | |
download | dexon-272b135b74931fd159d4e50a2328ea32a73f787c.tar dexon-272b135b74931fd159d4e50a2328ea32a73f787c.tar.gz dexon-272b135b74931fd159d4e50a2328ea32a73f787c.tar.bz2 dexon-272b135b74931fd159d4e50a2328ea32a73f787c.tar.lz dexon-272b135b74931fd159d4e50a2328ea32a73f787c.tar.xz dexon-272b135b74931fd159d4e50a2328ea32a73f787c.tar.zst dexon-272b135b74931fd159d4e50a2328ea32a73f787c.zip |
One more line of comment
Diffstat (limited to 'ethutil/mnemonic.go')
-rw-r--r-- | ethutil/mnemonic.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ethutil/mnemonic.go b/ethutil/mnemonic.go index d21c20f00..cc58de84a 100644 --- a/ethutil/mnemonic.go +++ b/ethutil/mnemonic.go @@ -5,6 +5,7 @@ import ( "strconv" ) +// Electrum word list var words []string = []string{ "like", "just", @@ -1673,6 +1674,7 @@ func MnemonicDecode(wordsar []string) string { z := (w3 - w2) % n // Golang handles modulo with negative numbers different then most languages + // The modulo can be negative, we don't want that. if z < 0 { z += n } |