multi: update linter, fix new issues

This commit is contained in:
Oliver Gugger
2023-05-12 10:09:56 +02:00
parent e549096b88
commit 56dba2df03
31 changed files with 263 additions and 301 deletions

View File

@@ -1692,7 +1692,7 @@ const msgSignaturePrefix = "Bitcoin Signed Message:\n"
// SignMessageWithAddr signs a message with the private key of the provided
// address. The address needs to belong to the lnd wallet.
func (w *WalletKit) SignMessageWithAddr(ctx context.Context,
func (w *WalletKit) SignMessageWithAddr(_ context.Context,
req *SignMessageWithAddrRequest) (*SignMessageWithAddrResponse, error) {
addr, err := btcutil.DecodeAddress(req.Addr, w.cfg.ChainParams)
@@ -1757,7 +1757,7 @@ func (w *WalletKit) SignMessageWithAddr(ctx context.Context,
// provided address. There is no dependence on the private key of the address
// therefore also external addresses are allowed to verify signatures.
// Supported address types are P2PKH, P2WKH, NP2WKH, P2TR.
func (w *WalletKit) VerifyMessageWithAddr(ctx context.Context,
func (w *WalletKit) VerifyMessageWithAddr(_ context.Context,
req *VerifyMessageWithAddrRequest) (*VerifyMessageWithAddrResponse,
error) {