faucet fix (#291)

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
This commit is contained in:
LightningTipBot 2022-01-15 01:11:25 +00:00 committed by GitHub
parent 83eb185634
commit 72e13e841d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -404,7 +404,7 @@ func listFaucetTakers(inlineFaucet *InlineFaucet) string {
to_str = fmt.Sprintf("🚰 *Faucet summary*\n\nMemo: %s\nCapacity: %d sat\nTakers: %d\nRemaining: %d sat\n\n*Takers:*\n\n", inlineFaucet.Memo, inlineFaucet.Amount, inlineFaucet.NTaken, inlineFaucet.RemainingAmount)
to_str += "```\n"
for _, to := range inlineFaucet.To {
to_str += fmt.Sprintf("%s\n", GetUserStrMd(to.Telegram))
to_str += fmt.Sprintf("%s\n", GetUserStr(to.Telegram))
}
to_str += "```"
return to_str