Skip to content

Commit f21cd5f

Browse files
committed
fix: get existing onChainAddress
1 parent c2dc334 commit f21cd5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/to/bitkit/viewmodels/WalletViewModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ class WalletViewModel @Inject constructor(
347347
}
348348

349349
val newBip21 = Bip21Utils.buildBip21Url(
350-
bitcoinAddress = lightningService.newAddress(),
350+
bitcoinAddress = _onchainAddress,
351351
amountSats = amountSats,
352352
message = description.ifBlank { "Bitkit" },
353353
lightningInvoice = _bolt11

0 commit comments

Comments
 (0)