Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

Commit

Permalink
also refresh _lastBakers on the listBakers call
Browse files Browse the repository at this point in the history
  • Loading branch information
gre committed Dec 13, 2019
1 parent 4da9c5a commit 3a6d20c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/families/tezos/bakers.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export const listBakers = async (
whitelistAddresses: string[]
): Promise<Baker[]> => {
const all = await cache();
_lastBakers = all;
return whitelist(all, whitelistAddresses);
};

Expand Down

0 comments on commit 3a6d20c

Please sign in to comment.