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
*/
#include "FixedHash.h"
#include <libsolutil/FixedHash.h>
#include <libsolutil/StringUtils.h>
#include <string>
#include <vector>

View File

@ -430,7 +430,7 @@ void CommandLineParser::parseLibraryOption(std::string const& _input)
solThrow(
CommandLineValidationError,
"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;
case util::ValidationError::wrongAddressLength:
@ -444,7 +444,7 @@ void CommandLineParser::parseLibraryOption(std::string const& _input)
solThrow(
CommandLineValidationError,
"Invalid checksum on address for library \"" + libName + "\": " + addrString + "\n"
"The correct checksum is " + util::getChecksummedAddress(addrString)
"The correct checksum is " + util::getChecksummedAddress(addrString)
);
break;
case util::ValidationError::invalidAddress: