Commit 272b135b authored by Maran's avatar Maran

One more line of comment

parent 335dc9e6
...@@ -5,6 +5,7 @@ import ( ...@@ -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 { ...@@ -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
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment