Browse Source

Permit spaces in policy and miniscript analysis

analysis
Pieter Wuille 5 years ago
parent
commit
28f289032a
  1. 5
      compiler.cpp

5
compiler.cpp

@ -967,6 +967,11 @@ std::string Expand(std::string str) {
if (pos == std::string::npos) break;
str.replace(pos, 10, "(9999999999999999999999999999999999999999)");
}
while (true) {
auto pos = str.find(" ");
if (pos == std::string::npos) break;
str.replace(pos, 1, "");
}
return str;
}

Loading…
Cancel
Save