mirror of https://github.com/lightninglabs/loop
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
331 B
Go
20 lines
331 B
Go
6 years ago
|
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
|
||
|
}
|