We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0fbd28 commit d331bc5Copy full SHA for d331bc5
wallets/client/protocols/spark.js
@@ -31,6 +31,8 @@ export async function testSendPayment ({ mnemonic }, { signal }) {
31
// check and register lightning address here so we can test it in the next step
32
// https://sdk-doc-spark.breez.technology/guide/receive_lnurl_pay.html
33
const username = getUsername(sparkAddress)
34
+
35
+ // TODO(spark): don't check lightning address again if we already registered it
36
const available = await sdk.checkLightningAddressAvailable({ username })
37
if (!available) {
38
// TODO(spark): better error message for user? but this should never happen with randomly generated mnemonics, right?
0 commit comments