File tree Expand file tree Collapse file tree 2 files changed +0
-36
lines changed Expand file tree Collapse file tree 2 files changed +0
-36
lines changed Original file line number Diff line number Diff line change @@ -542,20 +542,6 @@ type StateMachineStore interface {
542
542
// found, it returns an empty slice and no error.
543
543
BindDanglingUpdatesToTransition (context.Context ,
544
544
asset.Specifier ) ([]SupplyUpdateEvent , error )
545
-
546
- // FetchCommitmentByOutpoint fetches a supply commitment by its outpoint
547
- // and group key. If no commitment is found, it returns
548
- // ErrCommitmentNotFound.
549
- FetchCommitmentByOutpoint (ctx context.Context ,
550
- assetSpec asset.Specifier ,
551
- outpoint wire.OutPoint ) (* RootCommitment , error )
552
-
553
- // FetchCommitmentBySpentOutpoint fetches a supply commitment by the
554
- // outpoint it spent and group key. If no commitment is found, it
555
- // returns ErrCommitmentNotFound.
556
- FetchCommitmentBySpentOutpoint (ctx context.Context ,
557
- assetSpec asset.Specifier ,
558
- spentOutpoint wire.OutPoint ) (* RootCommitment , error )
559
545
}
560
546
561
547
// SupplySyncer is an interface that allows the state machine to insert
Original file line number Diff line number Diff line change @@ -344,28 +344,6 @@ func (m *mockStateMachineStore) BindDanglingUpdatesToTransition(
344
344
return args .Get (0 ).([]SupplyUpdateEvent ), args .Error (1 )
345
345
}
346
346
347
- func (m * mockStateMachineStore ) FetchCommitmentByOutpoint (ctx context.Context ,
348
- assetSpec asset.Specifier ,
349
- outpoint wire.OutPoint ) (* RootCommitment , error ) {
350
-
351
- args := m .Called (ctx , assetSpec , outpoint )
352
- if args .Get (0 ) == nil {
353
- return nil , args .Error (1 )
354
- }
355
- return args .Get (0 ).(* RootCommitment ), args .Error (1 )
356
- }
357
-
358
- func (m * mockStateMachineStore ) FetchCommitmentBySpentOutpoint (
359
- ctx context.Context , assetSpec asset.Specifier ,
360
- spentOutpoint wire.OutPoint ) (* RootCommitment , error ) {
361
-
362
- args := m .Called (ctx , assetSpec , spentOutpoint )
363
- if args .Get (0 ) == nil {
364
- return nil , args .Error (1 )
365
- }
366
- return args .Get (0 ).(* RootCommitment ), args .Error (1 )
367
- }
368
-
369
347
// mockDaemonAdapters is a mock implementation of the protofsm.DaemonAdapters
370
348
// interface.
371
349
type mockDaemonAdapters struct {
You can’t perform that action at this time.
0 commit comments