From dd8bde52397918f28d3b453aa2b31e8bdd008ff7 Mon Sep 17 00:00:00 2001 From: Friedl Ulrich Date: Sat, 7 Feb 2015 10:09:55 +0100 Subject: [PATCH] Wrong type in encryption --- rfm69d/rfm69d.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rfm69d/rfm69d.go b/rfm69d/rfm69d.go index 1c89d85..6402161 100644 --- a/rfm69d/rfm69d.go +++ b/rfm69d/rfm69d.go @@ -42,7 +42,7 @@ func main() { } log.Print(rfm) - err = rfm.Encrypt("0123456789012345") + err = rfm.Encrypt([]byte("0123456789012345")) if err != nil { log.Fatal(err) }