From 0b0622ba34c79166841d1a606fc43e85b11964a0 Mon Sep 17 00:00:00 2001
From: Benjamin Wenger <ben@elixxir.ioo>
Date: Mon, 24 Oct 2022 16:18:33 -0700
Subject: [PATCH] backed out an unnessessary change

---
 bindings/channels.go | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/bindings/channels.go b/bindings/channels.go
index 4d35582ab..985391c87 100644
--- a/bindings/channels.go
+++ b/bindings/channels.go
@@ -807,12 +807,11 @@ func (cm *ChannelsManager) SendGeneric(marshalledChanId []byte,
 	}
 
 	msgTy := channels.MessageType(messageType)
-	msgDigest := channels.MakeChanMsgDigest(chanId, msgTy, message)
 
 	// Send message
 	chanMsgId, rnd, ephId, err := cm.api.SendGeneric(chanId,
 		msgTy, message, time.Duration(leaseTimeMS),
-		msgDigest, params.CMIX)
+		params.CMIX)
 	if err != nil {
 		return nil, err
 	}
@@ -864,12 +863,11 @@ func (cm *ChannelsManager) SendAdminGeneric(adminPrivateKey,
 	}
 
 	msgTy := channels.MessageType(messageType)
-	msgDigest := channels.MakeChanMsgDigest(chanId, msgTy, message)
 
 	// Send admin message
 	chanMsgId, rnd, ephId, err := cm.api.SendAdminGeneric(rsaPrivKey,
 		chanId, msgTy, message, time.Duration(leaseTimeMS),
-		msgDigest, params.CMIX)
+		params.CMIX)
 
 	// Construct send report
 	return constructChannelSendReport(chanMsgId, rnd.ID, ephId)
-- 
GitLab