We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f37699 commit c354fd8Copy full SHA for c354fd8
lnmock/chain.go
@@ -74,6 +74,18 @@ func (m *MockChain) GetBlockHeader(hash *chainhash.Hash) (
74
return args.Get(0).(*wire.BlockHeader), args.Error(1)
75
}
76
77
+func (m *MockChain) GetUtxo(op *wire.OutPoint, pkScript []byte,
78
+ heightHint uint32, cancel <-chan struct{}) (*wire.TxOut, error) {
79
+
80
+ args := m.Called(op, pkScript, heightHint, cancel)
81
82
+ if args.Get(0) == nil {
83
+ return nil, args.Error(1)
84
+ }
85
86
+ return args.Get(0).(*wire.TxOut), args.Error(1)
87
+}
88
89
func (m *MockChain) IsCurrent() bool {
90
args := m.Called()
91
0 commit comments