aboutsummaryrefslogtreecommitdiff
path: root/network/receivepack/service/command.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-29 10:22:19 +0000
committerGravatar Runxi Yu2026-03-29 10:22:19 +0000
commitcdac77529a3f7416843b1d455d413c9b0f21cfff (patch)
tree274775de36c302716f43efdaffbb00ca5f3070f9 /network/receivepack/service/command.go
parentobject/id: Split files (diff)
signatureNo signature
object/id: Zero is a property of the algorithm v0.1.140
Diffstat (limited to 'network/receivepack/service/command.go')
-rw-r--r--network/receivepack/service/command.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/network/receivepack/service/command.go b/network/receivepack/service/command.go
index 0fd8961e..4d234214 100644
--- a/network/receivepack/service/command.go
+++ b/network/receivepack/service/command.go
@@ -22,7 +22,7 @@ func fillCommandErrors(result *Result, commands []Command, errText string) {
}
func isDelete(command Command) bool {
- return command.NewID == objectid.Zero(command.NewID.Algorithm())
+ return command.NewID == command.NewID.Algorithm().Zero()
}
func objectIDPointer(id objectid.ObjectID) *objectid.ObjectID {