diff --git a/src/transactions.rs b/src/transactions.rs index e63b75c..1a92e48 100644 --- a/src/transactions.rs +++ b/src/transactions.rs @@ -146,7 +146,10 @@ impl NodeInterface { /// bytes - size of the transaction in bytes /// wait_time - minutes to wait for the transaction to be included in the blockchain pub fn get_recommended_fee(&self, bytes: u64, wait_time: u64) -> Result { - let endpoint = format!("/transactions/getFee?bytes={}&waitTime={}", bytes, wait_time); + let endpoint = format!( + "/transactions/getFee?bytes={}&waitTime={}", + bytes, wait_time + ); let res = self.send_get_req(&endpoint); let res_json = self.parse_response_to_json(res); let fee = res_json?.as_u64().unwrap();