Skip to content

Commit e4dc39b

Browse files
committed
Replace platform dependent type with proper const
1 parent 51e5ef3 commit e4dc39b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/policy/rbf.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
bool SignalsOptInRBF(const CTransaction &tx)
88
{
99
for (const CTxIn &txin : tx.vin) {
10-
if (txin.nSequence < std::numeric_limits<unsigned int>::max()-1) {
10+
if (txin.nSequence <= MAX_BIP125_RBF_SEQUENCE) {
1111
return true;
1212
}
1313
}

0 commit comments

Comments
 (0)