fix parseBitcoinURI

This commit is contained in:
UdjinM6 2015-02-25 20:20:19 +03:00
parent d1a22ad9f9
commit c172c36885

View File

@ -178,7 +178,7 @@ bool parseBitcoinURI(QString uri, SendCoinsRecipient *out)
// which will lower-case it (and thus invalidate the address). // which will lower-case it (and thus invalidate the address).
if(uri.startsWith("darkcoin://", Qt::CaseInsensitive)) if(uri.startsWith("darkcoin://", Qt::CaseInsensitive))
{ {
uri.replace(0, 10, "darkcoin:"); uri.replace(0, 11, "darkcoin:");
} }
QUrl uriInstance(uri); QUrl uriInstance(uri);
return parseBitcoinURI(uriInstance, out); return parseBitcoinURI(uriInstance, out);