aboutsummaryrefslogtreecommitdiffstats
path: root/entity/dag/common_test.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2022-03-10 16:56:46 +0100
committerGitHub <noreply@github.com>2022-03-10 16:56:46 +0100
commit069a4c975f945f153c5b1802305f13c1c4e82927 (patch)
treee24bfb44747bf150b0d5bc6f87a7c54e06264fb2 /entity/dag/common_test.go
parentb1fc312aac59af299cadb394d67d3de6c9026b4f (diff)
parentfd14a0763ebf0bcdf6a719aafcbf73f7f5153400 (diff)
downloadgit-bug-069a4c975f945f153c5b1802305f13c1c4e82927.tar.gz
Merge pull request #763 from MichaelMure/resolve-entity
entity: allow to resolve identities when numashalling operations
Diffstat (limited to 'entity/dag/common_test.go')
-rw-r--r--entity/dag/common_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/entity/dag/common_test.go b/entity/dag/common_test.go
index 25289b76..532e3ff8 100644
--- a/entity/dag/common_test.go
+++ b/entity/dag/common_test.go
@@ -67,7 +67,7 @@ func (o *op2) Author() identity.Interface {
return o.author
}
-func unmarshaler(author identity.Interface, raw json.RawMessage) (Operation, error) {
+func unmarshaler(author identity.Interface, raw json.RawMessage, resolver identity.Resolver) (Operation, error) {
var t struct {
OperationType int `json:"type"`
}