aboutsummaryrefslogtreecommitdiff
path: root/handler_test.go
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2021-02-18 19:37:11 +0100
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2021-02-18 19:37:11 +0100
commit6b58644e087b5288d11cf69abee6434341ff09ae (patch)
treec8d169a863de0bc35b2f29577f2bd9977791c9e7 /handler_test.go
parentf0a7ea609523e663d02ad832bfa669c7cbbb3f38 (diff)
fixed unintuitive variable names in ActiveSthSource
Diffstat (limited to 'handler_test.go')
-rw-r--r--handler_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/handler_test.go b/handler_test.go
index daa1a6c..0d9a856 100644
--- a/handler_test.go
+++ b/handler_test.go
@@ -38,13 +38,13 @@ func newTestHandler(t *testing.T, signer crypto.Signer, sth *StItem) *testHandle
logParameters: lp,
}
if sth != nil {
- source.currSth = NewCosignedTreeHeadV1(sth.SignedTreeHeadV1, []SignatureV1{
+ source.currCosth = NewCosignedTreeHeadV1(sth.SignedTreeHeadV1, []SignatureV1{
SignatureV1{
Namespace: *mustNewNamespaceEd25519V1(t, testdata.Ed25519Vk),
Signature: testSignature,
},
})
- source.nextSth = NewCosignedTreeHeadV1(sth.SignedTreeHeadV1, nil)
+ source.nextCosth = NewCosignedTreeHeadV1(sth.SignedTreeHeadV1, nil)
source.cosignatureFrom = make(map[string]bool)
}
return &testHandler{