2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-09 19:10:47 +00:00
loop/test/signer_mock.go
2019-03-06 21:30:34 +01:00

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
}