From 9f20802a1d0a97f134283182687b966b9af61215 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Fri, 7 May 2021 15:34:48 -0700 Subject: [PATCH] Actually use the last known signature for fetching --- protocol/connections/tokenboardclientapp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol/connections/tokenboardclientapp.go b/protocol/connections/tokenboardclientapp.go index 1fdf6c4..f4b9cb0 100644 --- a/protocol/connections/tokenboardclientapp.go +++ b/protocol/connections/tokenboardclientapp.go @@ -53,6 +53,7 @@ func (ta *TokenBoardClient) NewInstance() tapir.Application { tba.acn = ta.acn tba.tokenService = ta.tokenService tba.tokenServiceOnion = ta.tokenServiceOnion + tba.lastKnownSignature = ta.lastKnownSignature return tba } @@ -82,7 +83,6 @@ func (ta *TokenBoardClient) Listen() { } // We always expect the server to follow protocol, and the second it doesn't we close the connection - // TODO issue an error so the client is aware var message groups.Message if err := json.Unmarshal(data, &message); err != nil { log.Debugf("Server sent an unexpected message, closing the connection: %v", err)