diff --git a/config/config.go b/config/config.go index ac4584b83..05ba533c7 100644 --- a/config/config.go +++ b/config/config.go @@ -84,6 +84,7 @@ func InitConfig() { if V2BotUrl != "" && V2BotToken != "" { // contact_key := GetV2ContactKey() + fmt.Println("DEBUG == IT IS V2") IsV2Payment = true } diff --git a/handlers/bounty.go b/handlers/bounty.go index 3725d6b0e..24ba9efcc 100644 --- a/handlers/bounty.go +++ b/handlers/bounty.go @@ -573,6 +573,8 @@ func (h *bountyHandler) MakeBountyPayment(w http.ResponseWriter, r *http.Request if config.IsV2Payment { url := fmt.Sprintf("%s/pay", config.V2BotUrl) + fmt.Println("IS V@ PAYMENT ====") + // Build v2 keysend payment data bodyData := utils.BuildV2KeysendBodyData(amount, assignee.OwnerPubKey, assignee.OwnerRouteHint) jsonBody := []byte(bodyData)