Skip to content

Commit

Permalink
Replace platform dependent type with proper const
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Nov 1, 2018
1 parent 51e5ef3 commit e4dc39b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/policy/rbf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit e4dc39b

Please sign in to comment.