serde the full FeeCalculator (#4778)

automerge
This commit is contained in:
Michael Vines 2019-06-21 17:23:26 -07:00 committed by Grimes
parent 22b767308a
commit f39e74f0d7
2 changed files with 2 additions and 2 deletions

View File

@ -768,6 +768,8 @@ mod tests {
"jsonrpc": "2.0",
"result": [ blockhash.to_string(), {
"lamportsPerSignature": 0,
"maxLamportsPerSignature": 0,
"minLamportsPerSignature": 0,
"targetLamportsPerSignature": 0,
"targetSignaturesPerSlot": 0
}],

View File

@ -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,
}