Skip to content

Commit

Permalink
update TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
aalu1418 committed Apr 16, 2024
1 parent 7b14e1a commit 56a0ed2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/monitoring/source_txdetails.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func (s *txDetailsSource) Fetch(ctx context.Context) (interface{}, error) {
continue
}

// TODO: worker pool - how many GetTransaction requests in a row?
// potential improvement: worker pool - how many GetTransaction requests in a row?
tx, err := s.source.client.GetTransaction(ctx, sig.Signature, &rpc.GetTransactionOpts{Commitment: "confirmed"})
if err != nil {
return nil, err
Expand Down
2 changes: 1 addition & 1 deletion pkg/monitoring/types/txdetails.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func ParseTx(tx *solanaGo.Transaction, programAddr solanaGo.PublicKey) (TxDetail

// find compute budget program instruction
if tx.Message.AccountKeys[instruction.ProgramIDIndex] == solanaGo.MustPublicKeyFromBase58(fees.COMPUTE_BUDGET_PROGRAM) {
// TODO: parsing fee calculation
// future: parsing fee calculation
foundFee = true
}
}
Expand Down

0 comments on commit 56a0ed2

Please sign in to comment.