mirror of
https://github.com/lightninglabs/aperture.git
synced 2025-12-18 01:24:19 +01:00
multi: fix all linter errors
This commit is contained in:
@@ -8,16 +8,9 @@ import (
|
||||
|
||||
"github.com/lightninglabs/kirin/auth"
|
||||
"github.com/lightninglabs/loop/lsat"
|
||||
"github.com/lightningnetwork/lnd/lntypes"
|
||||
"gopkg.in/macaroon.v2"
|
||||
)
|
||||
|
||||
type mockChallenger struct{}
|
||||
|
||||
func (c *mockChallenger) NewChallenge() (string, lntypes.Hash, error) {
|
||||
return "lnt1xxxx", lntypes.ZeroHash, nil
|
||||
}
|
||||
|
||||
// createDummyMacHex creates a valid macaroon with dummy content for our tests.
|
||||
func createDummyMacHex(preimage string) string {
|
||||
dummyMac, err := macaroon.New(
|
||||
|
||||
Reference in New Issue
Block a user