One more line of comment

pull/150/head
Maran 11 years ago
parent 335dc9e687
commit 272b135b74
  1. 2
      ethutil/mnemonic.go

@ -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
} }

Loading…
Cancel
Save