fix: correct no-rest-tls parameter in error message

This commit is contained in:
rockstardev 2021-02-07 13:22:53 -06:00 committed by GitHub
parent a5aeca8ca2
commit 57ac57ea66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -74,7 +74,7 @@ func EnforceSafeAuthentication(addrs []net.Addr, macaroonsActive,
return fmt.Errorf("detected RPC server listening on "+
"publicly reachable interface %v with "+
"encryption disabled! Refusing to start "+
"with --notls specified", addr)
"with --no-rest-tls specified", addr)
}
}