mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-23 21:39:13 +02:00
refactor: starts/ends_with changes for clang-tidy 20
This commit is contained in:
@@ -559,7 +559,7 @@ RPCHelpMan importwallet()
|
||||
fLabel = false;
|
||||
if (vstr[nStr] == "reserve=1")
|
||||
fLabel = false;
|
||||
if (vstr[nStr].substr(0,6) == "label=") {
|
||||
if (vstr[nStr].starts_with("label=")) {
|
||||
strLabel = DecodeDumpString(vstr[nStr].substr(6));
|
||||
fLabel = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user