Transfer: remove spammy debug traces

This commit is contained in:
moneromooo.monero 2016-11-06 10:49:02 +00:00
parent c9bb2f5718
commit 5fb4e89531

View File

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