2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-13 13:10:30 +00:00
loop/test/signer_mock.go

20 lines
331 B
Go
Raw Normal View History

2019-03-06 20:13:50 +00:00
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
}