mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-01 18:27:43 +02:00
lnwallet/btcwallet: add compile time check for BlockChainIO interface
This commit is contained in:
@@ -124,6 +124,8 @@ func (b *mockArbitratorLog) WipeHistory() error {
|
||||
|
||||
type mockChainIO struct{}
|
||||
|
||||
var _ lnwallet.BlockChainIO = (*mockChainIO)(nil)
|
||||
|
||||
func (*mockChainIO) GetBestBlock() (*chainhash.Hash, int32, error) {
|
||||
return nil, 0, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user