multi: fix linter errors

This commit is contained in:
Johan T. Halseth committed 2019-08-07 10:53:10 +02:00
1 parent 3207c8a736
commit 21baa7bf18
5 files changed
+8 -11

No files matched your search

+2 -2
View File
@@ -11,14 +11,14 @@ import (
var (
testRootKey = []byte("dummyRootKey")
testId = []byte("dummyId")
testID = []byte("dummyId")
testLocation = "lnd"
testVersion = macaroon.LatestVersion
expectedTimeCaveatSubstring = "time-before " + string(time.Now().Year())
)
func createDummyMacaroon(t *testing.T) *macaroon.Macaroon {
dummyMacaroon, err := macaroon.New(testRootKey, testId,
dummyMacaroon, err := macaroon.New(testRootKey, testID,
testLocation, testVersion)
if err != nil {
t.Fatalf("Error creating initial macaroon: %v", err)