github.com/datachainlab/burrow@v0.25.0/execution/exec/header.go (about) 1 package exec 2 3 import ( 4 "fmt" 5 ) 6 7 func (h *Header) String() string { 8 if h == nil { 9 return fmt.Sprintf("Header{<Empty>}") 10 } 11 return fmt.Sprintf("Header{Tx{%v}: %v; Event{%v}: %v; Height: %v; Index: %v; Exception: %v}", 12 h.TxType, h.TxHash, h.EventType, h.EventID, h.Height, h.Index, h.Exception) 13 }