From 7b0e88ade0db6edec31bed88e183f26824298617 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20D=C3=ADaz?= Date: Thu, 22 Nov 2018 18:33:37 +0100 Subject: [PATCH] user the new member.Peer structure --- protocol/protocol.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/protocol/protocol.go b/protocol/protocol.go index d6b3b354b..b592dd160 100644 --- a/protocol/protocol.go +++ b/protocol/protocol.go @@ -24,6 +24,7 @@ import ( "github.com/bbva/qed/balloon/history" "github.com/bbva/qed/balloon/hyper" "github.com/bbva/qed/balloon/visitor" + "github.com/bbva/qed/gossip/member" "github.com/bbva/qed/hashing" "github.com/bbva/qed/log" "github.com/bbva/qed/util" @@ -59,7 +60,7 @@ type SignedSnapshot struct { type BatchSnapshots struct { Snapshots []*SignedSnapshot TTL int - From *Source + From *member.Peer } type Source struct {