gofmt the follower's test (issue 1945)
This commit is contained in:
@@ -228,8 +228,11 @@ func TestTheBusNodeWritesTheNewestSignedUserListAlone(t *testing.T) {
|
||||
}
|
||||
return nil, errors.New("no object " + name)
|
||||
},
|
||||
Open: func(b seal.Box) ([]byte, error) { out, err := seal.Open(b, nodeKey.PrivateKey); return []byte(out), err },
|
||||
Key: func() string { return nodeKey.PublicKey },
|
||||
Open: func(b seal.Box) ([]byte, error) {
|
||||
out, err := seal.Open(b, nodeKey.PrivateKey)
|
||||
return []byte(out), err
|
||||
},
|
||||
Key: func() string { return nodeKey.PublicKey },
|
||||
Trusted: func() []ed25519.PublicKey { return []ed25519.PublicKey{controllerPub} },
|
||||
Resolve: func(_ context.Context, r json.RawMessage) ([]byte, error) {
|
||||
var res struct{ Content, Digest string }
|
||||
|
||||
Reference in New Issue
Block a user