Skip to content

Commit c6abeb7

Browse files
committed
make MAX_BIP125_RBF_SEQUENCE constexpr
1 parent 3cf46f6 commit c6abeb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/rbf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
class CTransaction;
1111

12-
static const uint32_t MAX_BIP125_RBF_SEQUENCE = 0xfffffffd;
12+
static constexpr uint32_t MAX_BIP125_RBF_SEQUENCE{0xfffffffd};
1313

1414
/** Check whether the sequence numbers on this transaction are signaling opt-in to replace-by-fee,
1515
* according to BIP 125. Allow opt-out of transaction replacement by setting nSequence >

0 commit comments

Comments
 (0)