aboutsummaryrefslogtreecommitdiffstats
path: root/bug/operation_pack.go
diff options
context:
space:
mode:
Diffstat (limited to 'bug/operation_pack.go')
-rw-r--r--bug/operation_pack.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/bug/operation_pack.go b/bug/operation_pack.go
index 2da8bee0..5238ea60 100644
--- a/bug/operation_pack.go
+++ b/bug/operation_pack.go
@@ -62,6 +62,9 @@ func (opp *OperationPack) UnmarshalJSON(data []byte) error {
return err
}
+ // Compute the hash of the operation
+ op.base().hash = hashRaw(raw)
+
opp.Operations = append(opp.Operations, op)
}