Replace platform dependent type with proper const
This commit is contained in:
1 parent
51e5ef3971
commit
e4dc39b3bc
1 file changed
+1
-1
+1
-1
@@ -7,7 +7,7 @@
|
|||||||
bool SignalsOptInRBF(const CTransaction &tx)
|
bool SignalsOptInRBF(const CTransaction &tx)
|
||||||
{
|
{
|
||||||
for (const CTxIn &txin : tx.vin) {
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user