mirror of
https://github.com/eosswedenorg/thalos
synced 2026-07-04 12:03:41 +02:00
api/message/types.go: Adding RollbackMessage struct
This commit is contained in:
parent
8321c1633a
commit
5b5b28669a
1 changed files with 5 additions and 0 deletions
|
|
@ -80,3 +80,8 @@ func (act ActionTrace) GetData() (map[string]any, error) {
|
||||||
}
|
}
|
||||||
return nil, errors.New("failed to convert data to map")
|
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"`
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue