diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2020-09-30 13:51:54 +0100 |
---|---|---|
committer | Neil Alexander <neilalexander@users.noreply.github.com> | 2020-09-30 13:51:54 +0100 |
commit | 135b5e264f1e183994ca0ddca21574d2b2081bba (patch) | |
tree | a993abaaf16cb964bd855d468f2a67e578637f51 | |
parent | beaf4cc00f6f198202742693cef40d71ed0b255e (diff) |
Fix panic on verifySigError in fetching missing events
-rw-r--r-- | federationapi/routing/send.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/federationapi/routing/send.go b/federationapi/routing/send.go index f8b8bcd6..d4bbe31c 100644 --- a/federationapi/routing/send.go +++ b/federationapi/routing/send.go @@ -872,7 +872,7 @@ func (t *txnReq) lookupMissingStateViaStateIDs(ctx context.Context, roomID, even h, err = t.lookupEvent(ctx, roomVersion, missingEventID, false) switch err.(type) { case verifySigError: - break + return case nil: break default: |