From 3088ebccb4d823c23409472a8811534656c18ca3 Mon Sep 17 00:00:00 2001 From: Zack Balbin Date: Wed, 31 May 2023 00:27:59 -0700 Subject: [PATCH] reformat using rustfmt --- src/transactions.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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();