Skip to content

Commit

Permalink
first iteration (#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
b-yap committed Feb 14, 2023
1 parent 1603fa5 commit 1641d6b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions clients/vault/src/system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,6 @@ impl VaultService {
self.vault_id_manager.fetch_vault_ids().await?;

let wallet = self.stellar_wallet.read().await;
let secret_key = wallet.get_secret_key();
let vault_public_key = wallet.get_public_key();
let is_public_network = wallet.is_public_network();
drop(wallet);
Expand Down Expand Up @@ -445,7 +444,7 @@ impl VaultService {
let issue_map: ArcRwLock<IssueRequestsMap> = Arc::new(RwLock::new(IssueRequestsMap::new()));
issue::initialize_issue_set(&self.spacewalk_parachain, &issue_map).await?;

let issue_filter = IssueFilter::new(secret_key.get_public())?;
let issue_filter = IssueFilter::new(&vault_public_key)?;

let ledger_env_map: ArcRwLock<LedgerTxEnvMap> = Arc::new(RwLock::new(HashMap::new()));

Expand Down

0 comments on commit 1641d6b

Please sign in to comment.