From 3a6d20c761a8ab2ff9299ccfaf3e0473e105fd11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Renaudeau?= Date: Fri, 13 Dec 2019 10:02:16 +0100 Subject: [PATCH] also refresh _lastBakers on the listBakers call --- src/families/tezos/bakers.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/families/tezos/bakers.js b/src/families/tezos/bakers.js index 7d697c6a97..042d89c0bf 100644 --- a/src/families/tezos/bakers.js +++ b/src/families/tezos/bakers.js @@ -103,6 +103,7 @@ export const listBakers = async ( whitelistAddresses: string[] ): Promise => { const all = await cache(); + _lastBakers = all; return whitelist(all, whitelistAddresses); };