refactor: change mask from Dec presentation to Hex for transaction filter

This commit is contained in:
Konstantin Akimov 2024-12-03 15:03:14 +07:00
parent 9d05cb5e9e
commit d033a3ae06
No known key found for this signature in database
GPG Key ID: 2176C4A5D01EA524

View File

@ -23,7 +23,7 @@ public:
/** Type filter bit field (all types) */ /** Type filter bit field (all types) */
static const quint32 ALL_TYPES = 0xFFFFFFFF; static const quint32 ALL_TYPES = 0xFFFFFFFF;
/** Type filter bit field (all types but Darksend-SPAM) */ /** Type filter bit field (all types but Darksend-SPAM) */
static const quint32 COMMON_TYPES = 4223; static const quint32 COMMON_TYPES = 0x107f;
static quint32 TYPE(int type) { return 1<<type; } static quint32 TYPE(int type) { return 1<<type; }