One more line of comment

This commit is contained in:
Maran 2014-04-09 10:40:55 -04:00
parent 335dc9e687
commit 272b135b74
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@ import (
"strconv" "strconv"
) )
// Electrum word list
var words []string = []string{ var words []string = []string{
"like", "like",
"just", "just",
@ -1673,6 +1674,7 @@ func MnemonicDecode(wordsar []string) string {
z := (w3 - w2) % n z := (w3 - w2) % n
// Golang handles modulo with negative numbers different then most languages // Golang handles modulo with negative numbers different then most languages
// The modulo can be negative, we don't want that.
if z < 0 { if z < 0 {
z += n z += n
} }