Replace platform dependent type with proper const

This commit is contained in:
Hennadii Stepanov 2018-10-11 13:10:47 +03:00
parent 51e5ef3971
commit e4dc39b3bc

View file

@ -7,7 +7,7 @@
bool SignalsOptInRBF(const CTransaction &tx)
{
for (const CTxIn &txin : tx.vin) {
if (txin.nSequence < std::numeric_limits<unsigned int>::max()-1) {
if (txin.nSequence <= MAX_BIP125_RBF_SEQUENCE) {
return true;
}
}