mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-14 12:26:32 +02:00
Transfer: remove spammy debug traces
This commit is contained in:
parent
c9bb2f5718
commit
5fb4e89531
@ -244,15 +244,11 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function checkAddressAndPaymentID(address, payment_id, testnet) {
|
function checkAddressAndPaymentID(address, payment_id, testnet) {
|
||||||
print ("testing")
|
|
||||||
if (!walletManager.addressValid(address, testnet))
|
if (!walletManager.addressValid(address, testnet))
|
||||||
return false
|
return false
|
||||||
print ("address is valid")
|
|
||||||
var ipid = walletManager.paymentIdFromAddress(address, testnet)
|
var ipid = walletManager.paymentIdFromAddress(address, testnet)
|
||||||
print ("ipid: [" + ipid + "]")
|
|
||||||
if (ipid.length > 0)
|
if (ipid.length > 0)
|
||||||
return payment_id === ""
|
return payment_id === ""
|
||||||
print ("payment_id: [" + payment_id + "]")
|
|
||||||
return payment_id === "" || walletManager.paymentIdValid(payment_id)
|
return payment_id === "" || walletManager.paymentIdValid(payment_id)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user