| 7 | #include "config/chainparams.h" |
| 8 | |
| 9 | bool CLogDBCache::SetExecuteFail(const int32_t blockHeight, const uint256 txid, const uint8_t errorCode, |
| 10 | const string &errorMessage) { |
| 11 | if (!SysCfg().IsLogFailures()) |
| 12 | return true; |
| 13 | return executeFailCache.SetData(make_pair(CFixedUInt32(blockHeight), txid), |
| 14 | std::make_pair(errorCode, errorMessage)); |
| 15 | } |
| 16 | |
| 17 | void CLogDBCache::Flush() { executeFailCache.Flush(); } |
no test coverage detected