mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 23:21:02 +00:00
fix clippy warning (#1163)
This commit is contained in:
committed by
Bastian Köcher
parent
bd70de8b8b
commit
75a1baac03
@@ -150,10 +150,7 @@ pub(crate) mod tests {
|
|||||||
// adjusted fee
|
// adjusted fee
|
||||||
let single_source_header_submit_tx_weight = single_source_header_submit_call_weight * 3 / 2;
|
let single_source_header_submit_tx_weight = single_source_header_submit_call_weight * 3 / 2;
|
||||||
let single_source_header_tx_cost = W::calc(&single_source_header_submit_tx_weight);
|
let single_source_header_tx_cost = W::calc(&single_source_header_submit_tx_weight);
|
||||||
let maximal_expected_decrease =
|
single_source_header_tx_cost * B::from(expected_source_headers_per_day)
|
||||||
single_source_header_tx_cost * B::from(expected_source_headers_per_day);
|
|
||||||
|
|
||||||
maximal_expected_decrease
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|||||||
Reference in New Issue
Block a user