From 83a501e631acaa213c512087002c9ccbcff70857 Mon Sep 17 00:00:00 2001 From: Benjamin Wenger <ben@elixxir.ioo> Date: Sat, 4 Jun 2022 15:43:08 -0700 Subject: [PATCH] fixed a crash an updated bindings docs --- auth/receivedConfirm.go | 4 +++- bindings/connect.go | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/auth/receivedConfirm.go b/auth/receivedConfirm.go index c4b5a7e81..8ee24bd34 100644 --- a/auth/receivedConfirm.go +++ b/auth/receivedConfirm.go @@ -98,7 +98,9 @@ func (rcs *receivedConfirmService) Process(msg format.Message, "%s : %+v", rcs.GetPartner(), receptionID.Source, err) } - rcs.s.backupTrigger("received confirmation from request") + if rcs.s.backupTrigger != nil { + rcs.s.backupTrigger("received confirmation from request") + } // remove the service used for notifications of the confirm state.net.DeleteService(receptionID.Source, rcs.notificationsService, nil) diff --git a/bindings/connect.go b/bindings/connect.go index d8e6db0ac..b7d1bcb18 100644 --- a/bindings/connect.go +++ b/bindings/connect.go @@ -55,7 +55,7 @@ func (c *Client) Connect(recipientContact []byte, myIdentity []byte) ( // E2ESendReport is the bindings representation of the return values of SendE2E // Example E2ESendReport: -// {"RoundList":{"Rounds":[1,5,9]}, +// {"Rounds":[1,5,9], // "MessageID":"51Yy47uZbP0o2Y9B/kkreDLTB6opUol3M3mYiY2dcdQ=", // "Timestamp":1653582683183384000} type E2ESendReport struct { -- GitLab