Skip to content

Commit

Permalink
serde the full FeeCalculator (anza-xyz#4778)
Browse files Browse the repository at this point in the history
automerge
  • Loading branch information
mvines authored and solana-grimes committed Jun 22, 2019
1 parent 22b7673 commit f39e74f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions core/src/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -768,6 +768,8 @@ mod tests {
"jsonrpc": "2.0",
"result": [ blockhash.to_string(), {
"lamportsPerSignature": 0,
"maxLamportsPerSignature": 0,
"minLamportsPerSignature": 0,
"targetLamportsPerSignature": 0,
"targetSignaturesPerSlot": 0
}],
Expand Down
2 changes: 0 additions & 2 deletions sdk/src/fee_calculator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ pub struct FeeCalculator {
// for the next slot. A value of 0 disables lamports_per_signature fee adjustments
pub target_signatures_per_slot: usize,

#[serde(skip)]
pub min_lamports_per_signature: u64,
#[serde(skip)]
pub max_lamports_per_signature: u64,
}

Expand Down

0 comments on commit f39e74f

Please sign in to comment.