Browse Source

Minor style fixes

cl-refactor
Lefteris Karapetsas 10 years ago
parent
commit
79b953d9e5
  1. 2
      alethzero/NatspecHandler.cpp
  2. 4
      libsolidity/CompilerStack.h

2
alethzero/NatspecHandler.cpp

@ -74,7 +74,7 @@ string NatspecHandler::getUserNotice(string const& json, dev::bytes const& _tran
FixedHash<4> transactionFunctionHash(transactionFunctionPart);
Json::Value methods = natspec["methods"];
for (Json::ValueIterator it= methods.begin(); it != methods.end(); ++it)
for (Json::ValueIterator it = methods.begin(); it != methods.end(); ++it)
{
Json::Value keyValue = it.key();
if (!keyValue.isString())

4
libsolidity/CompilerStack.h

@ -78,9 +78,9 @@ public:
/// @returns the assembled bytecode for a contract.
bytes const& getBytecode(std::string const& _contractName = "") const;
/// @returns the runtime context's bytecode for a contract.
bytes const& getRuntimeBytecode(std::string const& _contractName = "") const;
/// @returns the runtime bytecode for the contract, i.e. the code that is returned by the constructor.
bytes const& getRuntimeBytecode(std::string const& _contractName = "") const;
/// @returns hash of the runtime bytecode for the contract, i.e. the code that is returned by the constructor.
dev::h256 getContractCodeHash(std::string const& _contractName = "") const;
/// Streams a verbose version of the assembly to @a _outStream.

Loading…
Cancel
Save