We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9de8455 commit 953c37dCopy full SHA for 953c37d
src/features/Overview/SlotPerformance/ComputeUnitsCard/CuChart.tsx
@@ -58,8 +58,10 @@ function getChartData(transactions: SlotTransactions) {
58
: -transactions.txn_compute_units_requested[txnIdx] +
59
transactions.txn_compute_units_consumed[txnIdx]
60
: 0;
61
- const fees =
62
- !event.isTxnStart && transactions.txn_landed[txnIdx]
+ const fees = // fees are only paid by landed transactions with a valid fee payer (errors 5, 6 result in an invalid fee payer)
+ !event.isTxnStart &&
63
+ transactions.txn_landed[txnIdx] &&
64
+ ![5, 6].includes(transactions.txn_error_code[txnIdx])
65
? Number(transactions.txn_priority_fee[txnIdx]) +
66
Number(transactions.txn_transaction_fee[txnIdx])
67
0 commit comments