mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Replace platform dependent type with proper const
This commit is contained in:
parent
51e5ef3971
commit
e4dc39b3bc
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue