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 Except,Error and Return fields to ActionTrace

This commit is contained in:
Henrik Hautakoski 2023-04-30 15:50:41 +02:00
parent 8b927ed366
commit 668b3b62d8

View file

@ -27,6 +27,10 @@ type ActionTrace struct {
HexData string `json:"hex_data" msgpack:"hex_data"`
Authorization []PermissionLevel `json:"authorization" msgpack:"authorization"`
Except string `json:"except" msgpack:"except"`
Error uint64 `json:"error" msgpack:"error"`
Return []byte `json:"return" msgpack:"return"`
}
func (act ActionTrace) GetData() (map[string]interface{}, error) {