mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-11 05:04:35 +00:00
fix hasConnected to return true for sent notification transactions
This commit is contained in:
parent
7e05abec43
commit
a00340b464
1 changed files with 7 additions and 0 deletions
|
@ -681,6 +681,13 @@ mixin PaynymWalletInterface {
|
|||
if (paymentCodeString == unBlindedPaymentCode.toString()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (tx.address.value?.otherData != null) {
|
||||
final code = await paymentCodeStringByKey(tx.address.value!.otherData!);
|
||||
if (code == paymentCodeString) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// otherwise return no
|
||||
|
|
Loading…
Reference in a new issue