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

api/message/types.go: Adding RollbackMessage struct

This commit is contained in:
Henrik Hautakoski 2024-01-07 19:26:30 +01:00
parent 8321c1633a
commit 5b5b28669a

View file

@ -80,3 +80,8 @@ func (act ActionTrace) GetData() (map[string]any, error) {
}
return nil, errors.New("failed to convert data to map")
}
type RollbackMessage struct {
OldBlockNum uint32 `json:"old_block" msgpack:"old_block"`
NewBlockNum uint32 `json:"new_block" msgpack:"new_block"`
}