From 74f00ac6a9280a8c298ca4460f2a28770de38252 Mon Sep 17 00:00:00 2001 From: Joel Smith Date: Mon, 7 Oct 2024 16:29:34 -0500 Subject: [PATCH] Add debug msg --- node/pkg/accountant/submit_obs.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/node/pkg/accountant/submit_obs.go b/node/pkg/accountant/submit_obs.go index 5ea2518145..b8c7b17000 100644 --- a/node/pkg/accountant/submit_obs.go +++ b/node/pkg/accountant/submit_obs.go @@ -428,11 +428,15 @@ func GetObservationResponses(txResp *sdktx.BroadcastTxResponse) (map[string]Obse } var msg sdktypes.TxMsgData + if err := msg.Unmarshal(data); err != nil { return nil, fmt.Errorf("failed to unmarshal data: %w", err) } if len(msg.MsgResponses) == 0 { + + fmt.Println("TXRESP -", txResp) + return nil, fmt.Errorf("msg responses field is empty") }