From f24d947388ecb56ff7db51bb421645db090bd0df Mon Sep 17 00:00:00 2001 From: Aayush Rajasekaran Date: Wed, 12 Feb 2020 18:41:23 -0800 Subject: [PATCH] Faucet: Provide more info when a user tries to create a miner with a non-BLS address --- cmd/lotus-fountain/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/lotus-fountain/main.go b/cmd/lotus-fountain/main.go index 363ca5111..79984ffe2 100644 --- a/cmd/lotus-fountain/main.go +++ b/cmd/lotus-fountain/main.go @@ -207,7 +207,8 @@ func (h *handler) mkminer(w http.ResponseWriter, r *http.Request) { if owner.Protocol() != address.BLS { w.WriteHeader(400) - w.Write([]byte("Miner address must use BLS")) + w.Write([]byte("Miner address must use BLS. A BLS address starts with the prefix 't3'.")) + w.Write([]byte("Please create a BLS address by running \"lotus wallet new bls\" while connected to a Lotus node.")) return }