Merge pull request #1494 from ethereum/showtxhash

Display tx hash for debugging.
This commit is contained in:
Yoichi Hirai 2016-12-12 19:51:49 +01:00 committed by GitHub
commit e62b98646f

View File

@ -91,7 +91,10 @@ void ExecutionFramework::sendMessage(bytes const& _data, bool _isCreation, u256
} }
if (m_showMessages) if (m_showMessages)
{
cout << " out: " << toHex(m_output) << endl; cout << " out: " << toHex(m_output) << endl;
cout << " tx hash: " << txHash << endl;
}
m_gasUsed = u256(receipt.gasUsed); m_gasUsed = u256(receipt.gasUsed);
m_logs.clear(); m_logs.clear();