Validate if the provided word is a seed word
(w string)
| 1080 | |
| 1081 | // Validate if the provided word is a seed word |
| 1082 | func checkSeedWord(w string) (check bool) { |
| 1083 | split := strings.Split(w, " ") |
| 1084 | |
| 1085 | if len(split) > 1 { |
| 1086 | return |
| 1087 | } |
| 1088 | _, _, _, check = mnemonics.Find_indices([]string{w}) |
| 1089 | |
| 1090 | return |
| 1091 | } |
| 1092 | |
| 1093 | // Add a DERO transfer to the batch |
| 1094 | func addTransfer() error { |