mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-17 13:40:43 +02:00
Replace platform dependent type with proper const
This commit is contained in:
parent
51e5ef3971
commit
e4dc39b3bc
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user