aboutsummaryrefslogtreecommitdiff
path: root/src/policy/rbf.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <[email protected]>2018-10-11 13:10:47 +0300
committerHennadii Stepanov <[email protected]>2018-11-01 19:55:39 +0300
commite4dc39b3bc4f199c863a71235f7269f7f9e336de (patch)
treeb82638010d88049831d04fdd529dcfb2aef98c35 /src/policy/rbf.cpp
parentMerge #14377: check that a separator is found for psbt inputs, outputs, and g... (diff)
downloaddiscoin-e4dc39b3bc4f199c863a71235f7269f7f9e336de.tar.xz
discoin-e4dc39b3bc4f199c863a71235f7269f7f9e336de.zip
Replace platform dependent type with proper const
Diffstat (limited to 'src/policy/rbf.cpp')
-rw-r--r--src/policy/rbf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/policy/rbf.cpp b/src/policy/rbf.cpp
index 18f9c0c2a..0dc130d10 100644
--- a/src/policy/rbf.cpp
+++ b/src/policy/rbf.cpp
@@ -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;
}
}