1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-19 04:50:02 +02:00

api/channel.go: Change Action struct name to ActionChannel

This commit is contained in:
Henrik Hautakoski 2023-04-21 12:28:21 +02:00
parent 220f1976f0
commit 967de3260f
4 changed files with 12 additions and 12 deletions

View file

@ -140,10 +140,10 @@ func (processor *ShipProcessor) processTraces(traces []*ship.TransactionTraceV0)
}
channels := []api.Channel{
api.Action{}.Channel(),
api.Action{Name: act.Name}.Channel(),
api.Action{Contract: act.Contract}.Channel(),
api.Action{Name: act.Name, Contract: act.Contract}.Channel(),
api.ActionChannel{}.Channel(),
api.ActionChannel{Name: act.Name}.Channel(),
api.ActionChannel{Contract: act.Contract}.Channel(),
api.ActionChannel{Name: act.Name, Contract: act.Contract}.Channel(),
}
for _, channel := range channels {