update sgx library to get patch for vulnerabilities
This commit is contained in:
parent
dfd5081b1b
commit
1c4f9abd03
@ -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"
|
||||
|
@ -48,6 +48,7 @@ impl SolClient {
|
||||
}
|
||||
|
||||
pub async fn mint(&self, recipient: &str) -> Result<String, Box<dyn std::error::Error>> {
|
||||
// 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?;
|
||||
|
Loading…
Reference in New Issue
Block a user