From f7963fe2f09b7f94853f422e65f0ec74dfe956ba Mon Sep 17 00:00:00 2001 From: Jono Wenger <jono@elixxir.io> Date: Fri, 22 Oct 2021 13:05:42 -0700 Subject: [PATCH] Remove unneeded prints --- bindings/group.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/bindings/group.go b/bindings/group.go index eeaba6062..0a4577616 100644 --- a/bindings/group.go +++ b/bindings/group.go @@ -9,7 +9,6 @@ package bindings import ( "github.com/pkg/errors" - jww "github.com/spf13/jwalterweatherman" gc "gitlab.com/elixxir/client/groupChat" gs "gitlab.com/elixxir/client/groupChat/groupStore" "gitlab.com/elixxir/crypto/group" @@ -199,10 +198,6 @@ func (gsr *GroupSendReport) GetTimestampNano() int64 { // GetTimestampMS returns the timestamp of the send in milliseconds. func (gsr *GroupSendReport) GetTimestampMS() int64 { ts := uint64(gsr.timestamp.UnixNano()) / uint64(time.Millisecond) - - // TODO: remove the print below once debugging is done. - jww.DEBUG.Printf("Sent group message timestamp: %s", gsr.timestamp) - jww.DEBUG.Printf("Sent group message timestamp MS: %d", ts) return int64(ts) } @@ -347,11 +342,7 @@ func (gmr *GroupMessageReceive) GetTimestampNano() int64 { // GetTimestampMS returns the message timestamp in milliseconds. func (gmr *GroupMessageReceive) GetTimestampMS() int64 { - ts := uint64(gmr.Timestamp.UnixNano()) / uint64(time.Millisecond) - // TODO: remove the print below once debugging is done. - jww.DEBUG.Printf("Received group message timestamp: %s", gmr.Timestamp) - jww.DEBUG.Printf("Received group message timestamp MS: %d", ts) return int64(ts) } @@ -370,8 +361,5 @@ func (gmr *GroupMessageReceive) GetRoundTimestampNano() int64 { // message was sent on. func (gmr *GroupMessageReceive) GetRoundTimestampMS() int64 { ts := uint64(gmr.RoundTimestamp.UnixNano()) / uint64(time.Millisecond) - // TODO: remove the print below once debugging is done. - jww.DEBUG.Printf("Received group message round timestamp: %s", gmr.RoundTimestamp) - jww.DEBUG.Printf("Received group message round timestamp MS: %d", ts) return int64(ts) } -- GitLab