parent
22b767308a
commit
f39e74f0d7
|
@ -768,6 +768,8 @@ mod tests {
|
||||||
"jsonrpc": "2.0",
|
"jsonrpc": "2.0",
|
||||||
"result": [ blockhash.to_string(), {
|
"result": [ blockhash.to_string(), {
|
||||||
"lamportsPerSignature": 0,
|
"lamportsPerSignature": 0,
|
||||||
|
"maxLamportsPerSignature": 0,
|
||||||
|
"minLamportsPerSignature": 0,
|
||||||
"targetLamportsPerSignature": 0,
|
"targetLamportsPerSignature": 0,
|
||||||
"targetSignaturesPerSlot": 0
|
"targetSignaturesPerSlot": 0
|
||||||
}],
|
}],
|
||||||
|
|
|
@ -17,9 +17,7 @@ pub struct FeeCalculator {
|
||||||
// for the next slot. A value of 0 disables lamports_per_signature fee adjustments
|
// for the next slot. A value of 0 disables lamports_per_signature fee adjustments
|
||||||
pub target_signatures_per_slot: usize,
|
pub target_signatures_per_slot: usize,
|
||||||
|
|
||||||
#[serde(skip)]
|
|
||||||
pub min_lamports_per_signature: u64,
|
pub min_lamports_per_signature: u64,
|
||||||
#[serde(skip)]
|
|
||||||
pub max_lamports_per_signature: u64,
|
pub max_lamports_per_signature: u64,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue