Browse Source

Potential mac fix(?)

cl-refactor
Gav Wood 10 years ago
parent
commit
969ea19a44
  1. 2
      libethereum/TransactionReceipt.cpp
  2. 3
      libethereum/TransactionReceipt.h

2
libethereum/TransactionReceipt.cpp

@ -50,7 +50,7 @@ void TransactionReceipt::streamRLP(RLPStream& _s) const
l.streamRLP(_s);
}
std::ostream& dev::operator<<(std::ostream& _out, TransactionReceipt const& _r)
std::ostream& dev::eth::operator<<(std::ostream& _out, TransactionReceipt const& _r)
{
_out << "Root: " << _r.stateRoot() << std::endl;
_out << "Gas used: " << _r.gasUsed() << std::endl;

3
libethereum/TransactionReceipt.h

@ -57,8 +57,7 @@ private:
using TransactionReceipts = std::vector<TransactionReceipt>;
}
std::ostream& operator<<(std::ostream& _out, eth::TransactionReceipt const& _r);
}
}

Loading…
Cancel
Save