From cdac77529a3f7416843b1d455d413c9b0f21cfff Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 29 Mar 2026 10:22:19 +0000 Subject: object/id: Zero is a property of the algorithm --- network/receivepack/service/command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'network/receivepack/service/command.go') 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 { -- cgit v1.3.1-10-gc9f91