fix hasConnected to return true for sent notification transactions

This commit is contained in:
julian 2023-01-31 17:46:56 -06:00
parent 7e05abec43
commit a00340b464

View file

@ -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