Skip to content

Commit

Permalink
chore(drip): fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
cor committed Oct 18, 2024
1 parent d2aa920 commit 9c6ee18
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion drip/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ unionlabs = { workspace = true }

async-graphql = "7.0.6"
async-graphql-axum = "7.0.6"
async-sqlite = { version = "0.2.2", features = ["bundled", "array", "vtab"]}
async-sqlite = { version = "0.2.2", features = ["bundled", "array", "vtab"] }
axum = "0.7.5"
recaptcha-verify = "0.1.5"
subtle-encoding = { workspace = true, features = ["bech32-preview"] }
Expand Down
16 changes: 8 additions & 8 deletions drip/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
use std::{
borrow::{Borrow, BorrowMut}, collections::HashMap, ffi::OsString, fmt, fs::read_to_string, rc::Rc, time::Duration
borrow::{Borrow, BorrowMut},
collections::HashMap,
ffi::OsString,
fmt,
fs::read_to_string,
rc::Rc,
time::Duration,
};

use async_graphql::{http::GraphiQLSource, *};
Expand Down Expand Up @@ -302,7 +308,6 @@ struct ChainClient {
pub tm_client: WebSocketClient,
}


impl CosmosSdkChainRpcs for ChainClient {
fn tm_chain_id(&self) -> String {
self.chain.id.clone()
Expand All @@ -321,7 +326,6 @@ impl CosmosSdkChainRpcs for ChainClient {
}
}


impl ChainClient {
pub async fn new(chain: &Chain) -> Self {
let (tm_client, driver) = WebSocketClient::builder(chain.ws_url.clone())
Expand Down Expand Up @@ -453,11 +457,7 @@ impl ChainClient {
};

let (tx_hash, gas_used) = self
.broadcast_tx_commit(
&self.signer,
[msg],
self.chain.memo.clone(),
)
.broadcast_tx_commit(&self.signer, [msg], self.chain.memo.clone())
.await?;

info!(
Expand Down

0 comments on commit 9c6ee18

Please sign in to comment.