diff --git a/state/stateChanges/collector.go b/state/stateChanges/collector.go index 58562fd7d9..5c4c7e7ab4 100644 --- a/state/stateChanges/collector.go +++ b/state/stateChanges/collector.go @@ -2,6 +2,7 @@ package stateChanges import ( "bytes" + "encoding/hex" "encoding/json" "fmt" "sync" @@ -100,7 +101,7 @@ func (c *collector) Publish() (map[string]*data.StateChanges, error) { stateChangesForTxs := make(map[string]*data.StateChanges) for _, stateChange := range c.stateChanges { - txHash := string(stateChange.GetTxHash()) + txHash := hex.EncodeToString(stateChange.GetTxHash()) st, ok := stateChange.(*data.StateChange) if !ok {