diff --git a/Cargo.toml b/Cargo.toml index 5e180de..5176c9f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,7 +33,7 @@ tower-http = { version = "0.6", features = ["full"] } hyper = "1.4" hyper-util = "0.1" hyper-rustls = { version = "0.27", features = ["http2"] } -detee-sgx = { git = "https://gitea.detee.cloud/general/detee-sgx", features = ["tonic", "occlum", "sealing"] } +detee-sgx = { git = "https://gitea.detee.cloud/general/detee-sgx", branch = "dthc", features = ["tonic", "occlum", "sealing"] } [build-dependencies] tonic-build = "0.12" diff --git a/src/solana.rs b/src/solana.rs index b03e6c4..0a72202 100644 --- a/src/solana.rs +++ b/src/solana.rs @@ -48,6 +48,7 @@ impl SolClient { } pub async fn mint(&self, recipient: &str) -> Result> { + // TODO: add the priority fee for the case when the solana network is congested use std::str::FromStr; let recipient = solana_sdk::pubkey::Pubkey::from_str(recipient)?; let associated_token_address = self.create_token_account(&recipient).await?;