diff options
author | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2021-09-13 19:53:17 +0200 |
---|---|---|
committer | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2021-09-13 19:53:17 +0200 |
commit | 26b786d9857db21fdf110eaf9cb6d1d6e4e68ef9 (patch) | |
tree | 92606f47a91ebcc9e3cb4258af7a9472fc6f2e07 /pkg/mocks/sigsum_state_manager.go | |
parent | f34351da0731a11316e2266d2aadd62554a5b867 (diff) |
updated (co)signed tree head structuresv0.2.0
- Added key_hash in tree head, see motivation in api.md
- Added separate types for (co)signed tree heads
- Refactored tree head HTTP APIs to be current, see api.md
Diffstat (limited to 'pkg/mocks/sigsum_state_manager.go')
-rw-r--r-- | pkg/mocks/sigsum_state_manager.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/mocks/sigsum_state_manager.go b/pkg/mocks/sigsum_state_manager.go index b999677..594d0a1 100644 --- a/pkg/mocks/sigsum_state_manager.go +++ b/pkg/mocks/sigsum_state_manager.go @@ -50,10 +50,10 @@ func (mr *MockStateManagerMockRecorder) AddCosignature(arg0, arg1, arg2 interfac } // Cosigned mocks base method. -func (m *MockStateManager) Cosigned(arg0 context.Context) (*types.SignedTreeHead, error) { +func (m *MockStateManager) Cosigned(arg0 context.Context) (*types.CosignedTreeHead, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Cosigned", arg0) - ret0, _ := ret[0].(*types.SignedTreeHead) + ret0, _ := ret[0].(*types.CosignedTreeHead) ret1, _ := ret[1].(error) return ret0, ret1 } |