We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c174202 commit 99f51e0Copy full SHA for 99f51e0
protocol/localtxmonitor/messages.go
@@ -167,6 +167,9 @@ func (m *MsgReplyNextTx) UnmarshalCBOR(data []byte) error {
167
if _, err := cbor.Decode(data, &tmp); err != nil {
168
return err
169
}
170
+ if tmp == nil {
171
+ return nil
172
+ }
173
// We know what the value will be, but it doesn't hurt to use the actual value from the message
174
m.MessageType = uint8(tmp[0].(uint64))
175
// The ReplyNextTx message has a variable number of arguments
0 commit comments