Skip to content

Commit

Permalink
rmv log
Browse files Browse the repository at this point in the history
  • Loading branch information
Hitenjain14 committed Aug 17, 2023
1 parent 314dff8 commit 5cf4cbd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions code/go/0chain.net/blobbercore/writemarker/protocol.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
"github.com/0chain/blobber/code/go/0chain.net/core/chain"
"github.com/0chain/blobber/code/go/0chain.net/core/common"
"github.com/0chain/blobber/code/go/0chain.net/core/encryption"
"github.com/0chain/blobber/code/go/0chain.net/core/logging"
. "github.com/0chain/blobber/code/go/0chain.net/core/logging"
"github.com/0chain/blobber/code/go/0chain.net/core/node"
"github.com/0chain/blobber/code/go/0chain.net/core/transaction"
Expand Down Expand Up @@ -82,7 +81,6 @@ func (wme *WriteMarkerEntity) VerifyMarker(ctx context.Context, dbAllocation *al
if clientID == "" || clientID != wme.WM.ClientID || clientID != co.ClientID || co.ClientID != wme.WM.ClientID {
return common.NewError("write_marker_validation_failed", "Write Marker is not by the same client who uploaded")
}
logging.Logger.Info("WriteMarkerEntity.VerifyMarker", zap.Any("startTime", dbAllocation.StartTime))
if wme.WM.Timestamp < dbAllocation.StartTime {
return common.NewError("write_marker_validation_failed", "Write Marker timestamp is before the allocation start time")
}
Expand Down

0 comments on commit 5cf4cbd

Please sign in to comment.