mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
code-style fixes
This commit is contained in:
parent
01128d6c16
commit
4aca2abcb3
@ -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>
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user