From 638ba4b7e9dfe6b51fcd25f221f51f267fbe2d63 Mon Sep 17 00:00:00 2001 From: billettc Date: Tue, 8 Jan 2019 08:15:34 -0500 Subject: [PATCH] Fix for: https://github.com/eoscanada/eos-go/issues/105 --- decoder.go | 1 + 1 file changed, 1 insertion(+) diff --git a/decoder.go b/decoder.go index 6d119963..5a3ff4c0 100644 --- a/decoder.go +++ b/decoder.go @@ -818,6 +818,7 @@ func (d *Decoder) ReadActionData(action *Action) (err error) { var decodeInto reflect.Type if actionMap != nil { + objType := actionMap[action.Name] if objType != nil { decoderLog.Debug("read object", zap.String("type", objType.Name()))