fix: restore aiui and bitcoin receive before release
This commit is contained in:
@@ -12,9 +12,9 @@ impl RpcHandler {
|
||||
let (client, macaroon_hex) = self.lnd_client().await?;
|
||||
|
||||
let resp = client
|
||||
.post(format!("{LND_REST_BASE_URL}/v1/newaddress"))
|
||||
.get(format!("{LND_REST_BASE_URL}/v1/newaddress"))
|
||||
.query(&[("type", "p2wkh")])
|
||||
.header("Grpc-Metadata-macaroon", &macaroon_hex)
|
||||
.json(&serde_json::json!({ "type": "WITNESS_PUBKEY_HASH" }))
|
||||
.send()
|
||||
.await
|
||||
.context("LND REST connection failed")?;
|
||||
|
||||
Reference in New Issue
Block a user