Skip to content

Commit

Permalink
Merge 9135626 into 1a28e07
Browse files Browse the repository at this point in the history
  • Loading branch information
cpu committed Sep 12, 2018
2 parents 1a28e07 + 9135626 commit 4e44f92
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/cttestsrv/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import (
"github.com/google/trillian/log"
"github.com/google/trillian/merkle"
"github.com/google/trillian/merkle/hashers"
"github.com/google/trillian/monitoring"
"github.com/google/trillian/quota"
"github.com/google/trillian/storage"
"github.com/google/trillian/storage/memory"
Expand Down Expand Up @@ -111,8 +112,9 @@ func makeTree(name string, key *ecdsa.PrivateKey) (*testTree, error) {
return nil, err
}

logStorage := memory.NewLogStorage(nil)
adminStorage := memory.NewAdminStorage(logStorage)
treeStorage := memory.NewTreeStorage()
logStorage := memory.NewLogStorage(treeStorage, monitoring.InertMetricFactory{})
adminStorage := memory.NewAdminStorage(treeStorage)

sequencer := log.NewSequencer(hasher, timeSource, logStorage, signer, nil, quota.Noop())

Expand Down

0 comments on commit 4e44f92

Please sign in to comment.