From 668b3b62d81ded9e0883f25d20847c220d7234a7 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Sun, 30 Apr 2023 15:50:41 +0200 Subject: [PATCH] api/message/types.go: Adding Except,Error and Return fields to ActionTrace --- api/message/types.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/message/types.go b/api/message/types.go index ad9c3e2..a0b480c 100644 --- a/api/message/types.go +++ b/api/message/types.go @@ -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) {