mirror of
https://github.com/monero-project/monero-gui
synced 2025-01-07 18:56:24 +01:00
Merge pull request #3598
dbc8c7d
qr: scan valid addresses that miss an uri prefix (selsta)
This commit is contained in:
commit
24d113377b
@ -90,6 +90,9 @@ Rectangle {
|
||||
if (!parsed.error) {
|
||||
root.qrcode_decoded(parsed.address, parsed.payment_id, parsed.amount, parsed.tx_description, parsed.recipient_name, parsed.extra_parameters);
|
||||
root.state = "Stopped";
|
||||
} else if (walletManager.addressValid(data, appWindow.persistentSettings.nettype)) {
|
||||
root.qrcode_decoded(data, "", "", "", "", null);
|
||||
root.state = "Stopped";
|
||||
} else {
|
||||
onNotifyError(parsed.error);
|
||||
}
|
||||
|
@ -285,6 +285,9 @@ Rectangle {
|
||||
if (!parsed.error) {
|
||||
fillPaymentDetails(parsed.address, parsed.payment_id, parsed.amount, parsed.tx_description, parsed.recipient_name);
|
||||
break;
|
||||
} else if (walletManager.addressValid(codes[index], appWindow.persistentSettings.nettype)) {
|
||||
fillPaymentDetails(codes[index]);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user