Skip to content

Commit a3a01d3

Browse files
asdf
1 parent 51bba2d commit a3a01d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/discof/rpcserver/fd_rpc_service.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1686,8 +1686,8 @@ method_getVoteAccounts(struct json_values* values, fd_rpc_ctx_t * ctx) {
16861686

16871687
int needcomma = 0;
16881688

1689-
fd_clock_timestamp_vote_t_mapnode_t * timestamp_votes_root = slot_bank->timestamp_votes.votes_root;
1690-
fd_clock_timestamp_vote_t_mapnode_t * timestamp_votes_pool = slot_bank->timestamp_votes.votes_pool;
1689+
fd_clock_timestamp_vote_t_mapnode_t * timestamp_votes_root = NULL;
1690+
fd_clock_timestamp_vote_t_mapnode_t * timestamp_votes_pool = NULL;
16911691
fd_vote_accounts_pair_t_mapnode_t * vote_acc_root = slot_bank->epoch_stakes.vote_accounts_root;
16921692
fd_vote_accounts_pair_t_mapnode_t * vote_acc_pool = slot_bank->epoch_stakes.vote_accounts_pool;
16931693
for( fd_vote_accounts_pair_t_mapnode_t* n = fd_vote_accounts_pair_t_map_minimum(vote_acc_pool, vote_acc_root);

0 commit comments

Comments
 (0)