mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
Replace platform dependent type with proper const
This commit is contained in:
@@ -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