Add missing index for voter filtering in witness votes history
The get_witness_votes_history endpoint was timing out when filtering by voter-name because there was no index on voter_id. The existing index only covered (witness_id, source_op_block). This adds an index on (witness_id, voter_id) to enable efficient lookups when the voter-name filter is used.
Loading
Please sign in to comment