Skip to content

Commit

Permalink
Add lines to make sure structs implement interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
aditya1702 committed May 9, 2024
1 parent f85bdfb commit 4442348
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/soroban-rpc/internal/db/mocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,7 @@ func (m *mockLedgerReader) GetLedger(ctx context.Context, sequence uint32) (xdr.
func (m *mockLedgerReader) StreamAllLedgers(ctx context.Context, f StreamLedgerFn) error {
return nil
}

var _ TransactionReader = &mockTransactionHandler{}
var _ TransactionWriter = &mockTransactionHandler{}
var _ LedgerReader = &mockLedgerReader{}

0 comments on commit 4442348

Please sign in to comment.