calc_new_score can be private
This commit is contained in:
parent
2dfef5a003
commit
1ed0f86ed9
@ -95,7 +95,7 @@ impl AuditTransaction {
|
|||||||
|
|
||||||
/// Safety: This function must NEVER set score to NaN.
|
/// Safety: This function must NEVER set score to NaN.
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn calc_new_score(&mut self) {
|
fn calc_new_score(&mut self) {
|
||||||
self.score = (self.ancestor_fee as f64)
|
self.score = (self.ancestor_fee as f64)
|
||||||
/ (if self.ancestor_weight == 0 {
|
/ (if self.ancestor_weight == 0 {
|
||||||
1.0
|
1.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user