File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -55,8 +55,6 @@ const char* BIP70_MESSAGE_PAYMENTREQUEST = "PaymentRequest";
55
55
const char * BIP71_MIMETYPE_PAYMENT = " application/bitcoin-payment" ;
56
56
const char * BIP71_MIMETYPE_PAYMENTACK = " application/bitcoin-paymentack" ;
57
57
const char * BIP71_MIMETYPE_PAYMENTREQUEST = " application/bitcoin-paymentrequest" ;
58
- // BIP70 max payment request size in bytes (DoS protection)
59
- const qint64 BIP70_MAX_PAYMENTREQUEST_SIZE = 50000 ;
60
58
61
59
struct X509StoreDeleter {
62
60
void operator ()(X509_STORE* b) {
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ class QUrl;
53
53
QT_END_NAMESPACE
54
54
55
55
// BIP70 max payment request size in bytes (DoS protection)
56
- extern const qint64 BIP70_MAX_PAYMENTREQUEST_SIZE;
56
+ static const qint64 BIP70_MAX_PAYMENTREQUEST_SIZE = 50000 ;
57
57
58
58
class PaymentServer : public QObject
59
59
{
You can’t perform that action at this time.
0 commit comments