From c6abeb76fbb877f3f16d699c73a1828c7da2e6d1 Mon Sep 17 00:00:00 2001 From: glozow Date: Mon, 20 Sep 2021 13:26:56 +0100 Subject: [PATCH] make MAX_BIP125_RBF_SEQUENCE constexpr --- src/util/rbf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 >