Browse Source

Fix typo "Represatative"

xno
codesoap 11 months ago
parent
commit
3154832a41
  1. 4
      change.go

4
change.go

@ -23,7 +23,7 @@ func changeRepresentative() error { @@ -23,7 +23,7 @@ func changeRepresentative() error {
}
representative := flag.Arg(1)
fmt.Fprintf(os.Stderr, "Creating change block... ")
err = changeRepresatativeOfAccount(info, representative, privateKey)
err = changeRepresentativeOfAccount(info, representative, privateKey)
if err != nil {
fmt.Fprintln(os.Stderr, "")
return err
@ -32,7 +32,7 @@ func changeRepresentative() error { @@ -32,7 +32,7 @@ func changeRepresentative() error {
return nil
}
func changeRepresatativeOfAccount(info accountInfo, representative string, privateKey *big.Int) error {
func changeRepresentativeOfAccount(info accountInfo, representative string, privateKey *big.Int) error {
address, err := getAddress(privateKey)
if err != nil {
return err

Loading…
Cancel
Save