code-style fixes

This commit is contained in:
ssi91 2023-08-26 19:30:58 -04:00
parent 01128d6c16
commit 4aca2abcb3
2 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@
* String routines * String routines
*/ */
#include "FixedHash.h" #include <libsolutil/FixedHash.h>
#include <libsolutil/StringUtils.h> #include <libsolutil/StringUtils.h>
#include <string> #include <string>
#include <vector> #include <vector>

View File

@ -430,7 +430,7 @@ void CommandLineParser::parseLibraryOption(std::string const& _input)
solThrow( solThrow(
CommandLineValidationError, CommandLineValidationError,
"The address " + addrString + " is not prefixed with \"0x\".\n" "The address " + addrString + " is not prefixed with \"0x\".\n"
"Note that the address must be prefixed with \"0x\"." "Note that the address must be prefixed with \"0x\"."
); );
break; break;
case util::ValidationError::wrongAddressLength: case util::ValidationError::wrongAddressLength:
@ -444,7 +444,7 @@ void CommandLineParser::parseLibraryOption(std::string const& _input)
solThrow( solThrow(
CommandLineValidationError, CommandLineValidationError,
"Invalid checksum on address for library \"" + libName + "\": " + addrString + "\n" "Invalid checksum on address for library \"" + libName + "\": " + addrString + "\n"
"The correct checksum is " + util::getChecksummedAddress(addrString) "The correct checksum is " + util::getChecksummedAddress(addrString)
); );
break; break;
case util::ValidationError::invalidAddress: case util::ValidationError::invalidAddress: