mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-24 06:48:38 +02:00
fix: block wrongly parsed addresses (#2656)
* fix: block wrongly parsed addresses * fix: move parsed address check into handlePaymentFlow method * fix: Handle QR URLs separately for pay anything flow
This commit is contained in:
@@ -45,7 +45,7 @@ abstract class PaymentViewModelBase with Store {
|
||||
return PaymentFlowResult.incompatible('Unable to detect address type');
|
||||
}
|
||||
|
||||
if (_isEVMAddress(detectionResult.address)) {
|
||||
if (!addressData.contains(':') && _isEVMAddress(detectionResult.address)) {
|
||||
return PaymentFlowResult.evmNetworkSelection(detectionResult);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user