MCPcopy Create free account
hub / github.com/DEROFDN/Engram / checkSeedWord

Function checkSeedWord

functions.go:1082–1091  ·  view source on GitHub ↗

Validate if the provided word is a seed word

(w string)

Source from the content-addressed store, hash-verified

1080
1081// Validate if the provided word is a seed word
1082func 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
1094func addTransfer() error {

Callers 1

layoutRestoreFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected