From 9486aa98dbd49a7da39f69111310e3e7b44990f4 Mon Sep 17 00:00:00 2001 From: Jianhui Xie Date: Fri, 12 May 2023 10:48:18 -0700 Subject: [PATCH] fixed the merged break for to->cmd/lotus-fountain/main.go --- cmd/lotus-fountain/main.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cmd/lotus-fountain/main.go b/cmd/lotus-fountain/main.go index fe417dddb..2e61fcb6d 100644 --- a/cmd/lotus-fountain/main.go +++ b/cmd/lotus-fountain/main.go @@ -275,13 +275,13 @@ func (h *handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { h.ctx, &types.Message{ Value: types.BigInt(h.sendPerRequest), From: h.from, - To: to, + To: filecoinAddress, }, nil) } else if r.RequestURI == "/datacap" { var params []byte params, err = actors.SerializeParams( &verifregtypes9.AddVerifiedClientParams{ - Address: to, + Address: filecoinAddress, Allowance: h.allowance, }) if err != nil { @@ -300,7 +300,6 @@ func (h *handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { return } - if err != nil { http.Error(w, err.Error(), http.StatusBadRequest) return