From 4aca2abcb3dea0ca74bfaee169273dde575c2518 Mon Sep 17 00:00:00 2001 From: ssi91 Date: Sat, 26 Aug 2023 19:30:58 -0400 Subject: [PATCH] code-style fixes --- libsolutil/StringUtils.cpp | 2 +- solc/CommandLineParser.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libsolutil/StringUtils.cpp b/libsolutil/StringUtils.cpp index e9b016612..26bb3246f 100644 --- a/libsolutil/StringUtils.cpp +++ b/libsolutil/StringUtils.cpp @@ -22,7 +22,7 @@ * String routines */ -#include "FixedHash.h" +#include #include #include #include diff --git a/solc/CommandLineParser.cpp b/solc/CommandLineParser.cpp index 8cb6ffac3..95419939c 100644 --- a/solc/CommandLineParser.cpp +++ b/solc/CommandLineParser.cpp @@ -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: