mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-03 10:12:28 +02:00
multi: make input.OutPoint
return wire.OutPoint
This commit is contained in:
@@ -23,15 +23,11 @@ var _ Input = (*MockInput)(nil)
|
||||
|
||||
// Outpoint returns the reference to the output being spent, used to construct
|
||||
// the corresponding transaction input.
|
||||
func (m *MockInput) OutPoint() *wire.OutPoint {
|
||||
func (m *MockInput) OutPoint() wire.OutPoint {
|
||||
args := m.Called()
|
||||
op := args.Get(0)
|
||||
|
||||
if op == nil {
|
||||
return nil
|
||||
}
|
||||
|
||||
return op.(*wire.OutPoint)
|
||||
return op.(wire.OutPoint)
|
||||
}
|
||||
|
||||
// RequiredTxOut returns a non-nil TxOut if input commits to a certain
|
||||
|
Reference in New Issue
Block a user