Hide vote txs that don't invoke any other programs like the comment says (#26727)
Co-authored-by: Arrowana <8245419+Arrowana@users.noreply.github.com>
This commit is contained in:
parent
700da0fc83
commit
4308db74e4
|
@ -135,7 +135,7 @@ export function BlockHistoryCard({ block }: { block: BlockResponse }) {
|
|||
return true;
|
||||
} else if (programFilter === HIDE_VOTES) {
|
||||
// hide vote txs that don't invoke any other programs
|
||||
return !(invocations.size === 1 || invocations.has(voteFilter));
|
||||
return !(invocations.has(voteFilter) && invocations.size === 1);
|
||||
}
|
||||
return invocations.has(programFilter);
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue