diff options
author | Pasta <pasta@dashboost.org> | 2021-12-18 12:50:58 -0500 |
---|---|---|
committer | pasta <pasta@dashboost.org> | 2023-01-03 19:31:29 -0600 |
commit | f2fc03ec856d7d19a20c482514350cced38f9504 (patch) | |
tree | f783af485b07464f29e0f5876db293a5ce44ca03 /src/wallet/scriptpubkeyman.cpp | |
parent | 3f8591d46b46cec2c4effc01f8822222087d74c4 (diff) | |
download | bitcoin-f2fc03ec856d7d19a20c482514350cced38f9504.tar.xz |
refactor: use braced init for integer constants instead of c style casts
Diffstat (limited to 'src/wallet/scriptpubkeyman.cpp')
-rw-r--r-- | src/wallet/scriptpubkeyman.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/scriptpubkeyman.cpp b/src/wallet/scriptpubkeyman.cpp index fbb52ea621..d8f34dd2b0 100644 --- a/src/wallet/scriptpubkeyman.cpp +++ b/src/wallet/scriptpubkeyman.cpp @@ -2123,7 +2123,7 @@ bool DescriptorScriptPubKeyMan::TopUp(unsigned int size) if (size > 0) { target_size = size; } else { - target_size = std::max(gArgs.GetIntArg("-keypool", DEFAULT_KEYPOOL_SIZE), (int64_t) 1); + target_size = std::max(gArgs.GetIntArg("-keypool", DEFAULT_KEYPOOL_SIZE), int64_t{1}); } // Calculate the new range_end |