Skip to content

Commit

Permalink
review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
MujkicA committed Oct 13, 2024
1 parent 3321fbf commit 216578a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ bech32 = "0.9.1"
bytes = { version = "1.5.0", default-features = false }
chrono = "0.4.31"
cynic = { version = "2.2", default-features = false }
cynic-codegen = { version = "3.8.0", default-features = false }
elliptic-curve = { version = "0.13.8", default-features = false }
eth-keystore = "0.5.0"
flate2 = { version = "1.0", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion packages/fuels-accounts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ tempfile = { workspace = true }
tokio = { workspace = true, features = ["test-util"] }

[build-dependencies]
cynic = { workspace = true, features = ["default"], optional = true } # TODO reduce features
cynic = { workspace = true, features = ["default"], optional = true }
fuel-core-client = { workspace = true, optional = true }

[features]
Expand Down
4 changes: 2 additions & 2 deletions packages/fuels-accounts/build.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
fn main() {
#[cfg(not(feature = "std"))]
#[cfg(feature = "std")]
{
use std::{env, fs};
use std::fs;

fs::create_dir_all("target").expect("Unable to create target directory");
fs::write(
Expand Down
2 changes: 1 addition & 1 deletion packages/fuels-accounts/src/provider/retryable_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ impl RetryableClient {
})
.await
}
// DELEGATION END

pub async fn is_user_account(&self, address: [u8; 32]) -> Result<bool> {
let blob_id = BlobId::from(address);
Expand All @@ -326,7 +327,6 @@ impl RetryableClient {

Ok(!is_resource)
}
// DELEGATION END
}

mod custom_queries {
Expand Down

0 comments on commit 216578a

Please sign in to comment.