mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-20 04:21:37 +02:00
multi: update linter, fix new issues
This commit is contained in:
@@ -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) {
|
||||
|
||||
|
Reference in New Issue
Block a user