lnwallet/btcwallet: add compile time check for BlockChainIO interface

This commit is contained in:
Johan T. Halseth
2018-08-24 15:30:23 +02:00
parent c4415f0400
commit beb5d14ed9
4 changed files with 9 additions and 1 deletions

View File

@@ -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
}