multi: fix linter warnings with updated linter
This commit is contained in:
11 files changed
+23
-26
No files matched your search
@@ -211,7 +211,7 @@ func (w *WitnessScriptDesc) WitnessScriptToSign() []byte {
|
||||
// An error is returned if the path is unknown. This is useful as when
|
||||
// constructing a contrl block for a given path, one also needs witness script
|
||||
// being signed.
|
||||
func (w *WitnessScriptDesc) WitnessScriptForPath(path input.ScriptPath,
|
||||
func (w *WitnessScriptDesc) WitnessScriptForPath(_ input.ScriptPath,
|
||||
) ([]byte, error) {
|
||||
|
||||
return w.WitnessScript, nil
|
||||
|
||||
@@ -657,13 +657,15 @@ func (r *RPCKeyRing) ComputeInputScript(tx *wire.MsgTx,
|
||||
func (r *RPCKeyRing) MuSig2CreateSession(bipVersion input.MuSig2Version,
|
||||
keyLoc keychain.KeyLocator, pubKeys []*btcec.PublicKey,
|
||||
tweaks *input.MuSig2Tweaks, otherNonces [][musig2.PubNonceSize]byte,
|
||||
sessionOpts ...musig2.SessionOption) (*input.MuSig2SessionInfo, error) {
|
||||
_ ...musig2.SessionOption) (*input.MuSig2SessionInfo, error) {
|
||||
|
||||
apiVersion, err := signrpc.MarshalMuSig2Version(bipVersion)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
// TODO(roasbeef): add protos to specify session options
|
||||
|
||||
// We need to serialize all data for the RPC call. We can do that by
|
||||
// putting everything directly into the request struct.
|
||||
req := &signrpc.MuSig2SessionRequest{
|
||||
|
||||
Reference in new issue
Block a user