Skip to content
Snippets Groups Projects
Commit f7963fe2 authored by Jono Wenger's avatar Jono Wenger
Browse files

Remove unneeded prints

parent 759b5aed
Branches
Tags
1 merge request!67Release
...@@ -9,7 +9,6 @@ package bindings ...@@ -9,7 +9,6 @@ package bindings
import ( import (
"github.com/pkg/errors" "github.com/pkg/errors"
jww "github.com/spf13/jwalterweatherman"
gc "gitlab.com/elixxir/client/groupChat" gc "gitlab.com/elixxir/client/groupChat"
gs "gitlab.com/elixxir/client/groupChat/groupStore" gs "gitlab.com/elixxir/client/groupChat/groupStore"
"gitlab.com/elixxir/crypto/group" "gitlab.com/elixxir/crypto/group"
...@@ -199,10 +198,6 @@ func (gsr *GroupSendReport) GetTimestampNano() int64 { ...@@ -199,10 +198,6 @@ func (gsr *GroupSendReport) GetTimestampNano() int64 {
// GetTimestampMS returns the timestamp of the send in milliseconds. // GetTimestampMS returns the timestamp of the send in milliseconds.
func (gsr *GroupSendReport) GetTimestampMS() int64 { func (gsr *GroupSendReport) GetTimestampMS() int64 {
ts := uint64(gsr.timestamp.UnixNano()) / uint64(time.Millisecond) 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) return int64(ts)
} }
...@@ -347,11 +342,7 @@ func (gmr *GroupMessageReceive) GetTimestampNano() int64 { ...@@ -347,11 +342,7 @@ func (gmr *GroupMessageReceive) GetTimestampNano() int64 {
// GetTimestampMS returns the message timestamp in milliseconds. // GetTimestampMS returns the message timestamp in milliseconds.
func (gmr *GroupMessageReceive) GetTimestampMS() int64 { func (gmr *GroupMessageReceive) GetTimestampMS() int64 {
ts := uint64(gmr.Timestamp.UnixNano()) / uint64(time.Millisecond) 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) return int64(ts)
} }
...@@ -370,8 +361,5 @@ func (gmr *GroupMessageReceive) GetRoundTimestampNano() int64 { ...@@ -370,8 +361,5 @@ func (gmr *GroupMessageReceive) GetRoundTimestampNano() int64 {
// message was sent on. // message was sent on.
func (gmr *GroupMessageReceive) GetRoundTimestampMS() int64 { func (gmr *GroupMessageReceive) GetRoundTimestampMS() int64 {
ts := uint64(gmr.RoundTimestamp.UnixNano()) / uint64(time.Millisecond) 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) return int64(ts)
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment