mirror of
https://github.com/lightninglabs/loop
synced 2024-11-13 13:10:30 +00:00
20 lines
331 B
Go
20 lines
331 B
Go
|
package test
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
|
||
|
"github.com/btcsuite/btcd/wire"
|
||
|
"github.com/lightningnetwork/lnd/input"
|
||
|
)
|
||
|
|
||
|
type mockSigner struct {
|
||
|
}
|
||
|
|
||
|
func (s *mockSigner) SignOutputRaw(ctx context.Context, tx *wire.MsgTx,
|
||
|
signDescriptors []*input.SignDescriptor) ([][]byte, error) {
|
||
|
|
||
|
rawSigs := [][]byte{{1, 2, 3}}
|
||
|
|
||
|
return rawSigs, nil
|
||
|
}
|