multi: fix linter warnings with updated linter

This commit is contained in:
Olaoluwa Osuntokun committed 2023-08-22 16:34:47 -07:00
1 parent 7506383074
commit 92da6b1d44
11 files changed
+23 -26

No files matched your search

+3 -1
View File
@@ -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{