diff --git a/bindings/group.go b/bindings/group.go index eeaba606275e3ff18859163e8257b464ae86bd92..0a45776161dc99ec90a54c31fc4d12fea3653f74 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) }