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 a597e2a commit c2b1a0bCopy full SHA for c2b1a0b
app/src/main/java/to/bitkit/viewmodels/AppViewModel.kt
@@ -520,10 +520,16 @@ class AppViewModel @Inject constructor(
520
tags = _sendUiState.value.selectedTags
521
)
522
523
- is Activity.Onchain -> coreService.activity.appendTags(
524
- toActivityId = activity.v1.id,
525
- tags = _sendUiState.value.selectedTags
526
- )
+ is Activity.Onchain -> {
+ if (paymentHashOrTxId == activity.v1.txId) {
+ coreService.activity.appendTags(
+ toActivityId = activity.v1.id,
527
+ tags = _sendUiState.value.selectedTags
528
+ )
529
+ } else {
530
+ Logger.error("Different tcId. Expected: $paymentHashOrTxId found: ${activity.v1.id}")
531
+ }
532
533
}
534
535
0 commit comments