Skip to content

Commit

Permalink
Add function to reward with full priority fee and burnt transaction f…
Browse files Browse the repository at this point in the history
…ee (solana-labs#566)

* refactor shareble code into its own function; update and add tests

* add function to reward with full prio fee and burnt transaction fee
  • Loading branch information
tao-stones authored Apr 4, 2024
1 parent f975e92 commit bc81153
Show file tree
Hide file tree
Showing 2 changed files with 265 additions and 53 deletions.
4 changes: 2 additions & 2 deletions runtime/src/bank.rs
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,8 @@ impl AddAssign for SquashTiming {

#[derive(AbiExample, Debug, Default, PartialEq)]
pub(crate) struct CollectorFeeDetails {
pub transaction_fee: u64,
pub priority_fee: u64,
transaction_fee: u64,
priority_fee: u64,
}

impl CollectorFeeDetails {
Expand Down
Loading

0 comments on commit bc81153

Please sign in to comment.