aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorglozow <gloriajzhao@gmail.com>2021-09-20 13:26:56 +0100
committerglozow <gloriajzhao@gmail.com>2021-09-20 13:32:28 +0100
commitc6abeb76fbb877f3f16d699c73a1828c7da2e6d1 (patch)
treec592e4857c791cf93c26ea635be467912a31c042 /src
parent3cf46f6055f7cd2e5da81e0d29cafc51ad4aafba (diff)
make MAX_BIP125_RBF_SEQUENCE constexpr
Diffstat (limited to 'src')
-rw-r--r--src/util/rbf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/rbf.h b/src/util/rbf.h
index 135817d669..aa522d8bfb 100644
--- a/src/util/rbf.h
+++ b/src/util/rbf.h
@@ -9,7 +9,7 @@
class CTransaction;
-static const uint32_t MAX_BIP125_RBF_SEQUENCE = 0xfffffffd;
+static constexpr uint32_t MAX_BIP125_RBF_SEQUENCE{0xfffffffd};
/** Check whether the sequence numbers on this transaction are signaling opt-in to replace-by-fee,
* according to BIP 125. Allow opt-out of transaction replacement by setting nSequence >