mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
fix: fix mdLogger IsDebug() (#1045)
This commit is contained in:
parent
e0ba374ff7
commit
d226debce3
1 changed files with 2 additions and 0 deletions
|
|
@ -545,6 +545,8 @@ func (*mdLogger) CaptureTxStart(gasLimit uint64) {}
|
|||
|
||||
func (*mdLogger) CaptureTxEnd(restGas uint64) {}
|
||||
|
||||
func (t *mdLogger) IsDebug() bool { return t.cfg.Debug }
|
||||
|
||||
// FormatLogs formats EVM returned structured logs for json output
|
||||
func FormatLogs(logs []StructLog) []types.StructLogRes {
|
||||
formatted := make([]types.StructLogRes, len(logs))
|
||||
|
|
|
|||
Loading…
Reference in a new issue