aboutsummaryrefslogtreecommitdiffstats
path: root/entity/dag/operation_pack.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2022-03-10 16:34:57 +0100
committerMichael Muré <batolettre@gmail.com>2022-03-10 16:37:24 +0100
commitfd14a0763ebf0bcdf6a719aafcbf73f7f5153400 (patch)
tree8b797bce977386b85ade31c5601d49d6e2ac4336 /entity/dag/operation_pack.go
parentdf55cc49a85eaf3a2d3c2ceb1fbcccac19fa6eb8 (diff)
downloadgit-bug-fd14a0763ebf0bcdf6a719aafcbf73f7f5153400.tar.gz
entity: allow to resolve identities when numashalling operations
Diffstat (limited to 'entity/dag/operation_pack.go')
-rw-r--r--entity/dag/operation_pack.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/entity/dag/operation_pack.go b/entity/dag/operation_pack.go
index 5d74e13f..2794606a 100644
--- a/entity/dag/operation_pack.go
+++ b/entity/dag/operation_pack.go
@@ -314,7 +314,7 @@ func unmarshallPack(def Definition, resolver identity.Resolver, data []byte) ([]
for _, raw := range aux.Operations {
// delegate to specialized unmarshal function
- op, err := def.OperationUnmarshaler(author, raw)
+ op, err := def.OperationUnmarshaler(author, raw, resolver)
if err != nil {
return nil, nil, err
}