From 32b3a27a9a7a4c3c94c406cc10fc7749e639bdd3 Mon Sep 17 00:00:00 2001 From: Jae Kwon Date: Tue, 10 Nov 2015 11:53:35 -0800 Subject: [PATCH] Conform to new go-wire 1.0 --- pub_key.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pub_key.go b/pub_key.go index 6eeb4a86e..47eba9ed6 100644 --- a/pub_key.go +++ b/pub_key.go @@ -37,7 +37,7 @@ type PubKeyEd25519 [32]byte // For now, we artificially append the type byte in front to give us backwards // compatibility for when the pubkey wasn't fixed length array func (pubKey PubKeyEd25519) Address() []byte { - w, n, err := new(bytes.Buffer), new(int64), new(error) + w, n, err := new(bytes.Buffer), new(int), new(error) wire.WriteBinary(pubKey[:], w, n, err) if *err != nil { PanicCrisis(*err)