fix: restore aiui and bitcoin receive before release

This commit is contained in:
archipelago
2026-06-12 05:10:03 -04:00
parent eaf13effd5
commit b8ac68d844
6 changed files with 8 additions and 7 deletions

View File

@@ -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")?;