feat: configure webhook

This commit is contained in:
2023-07-19 21:20:59 +02:00
parent e80e75cb8c
commit 44e9315706
7 changed files with 65 additions and 9 deletions

View File

@@ -2,7 +2,6 @@ package btc
import (
"fmt"
"net/http"
)
type BitcoinService struct {
@@ -10,7 +9,6 @@ type BitcoinService struct {
auth string
zmqAddress string
walletAddress string
client *http.Client
testNet bool
}
@@ -20,7 +18,6 @@ func NewBitcoinService(host, auth, zmqAddress, walletAddress string) *BitcoinSer
auth: auth,
zmqAddress: zmqAddress,
walletAddress: walletAddress,
client: &http.Client{},
}
from, err := bs.getAddressGroupings(false)