Skip to content

Commit

Permalink
https://github.com/pendulum-chain/spacewalk/actions/runs/6743411899/j…
Browse files Browse the repository at this point in the history
…ob/18387709725#step:11:12
  • Loading branch information
b-yap committed Nov 6, 2023
1 parent 5088e24 commit b6f4695
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions clients/vault/tests/vault_integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -710,8 +710,8 @@ async fn test_automatic_issue_execution_succeeds() {
};

let wallet_read = vault_wallet.read().await;
let issue_filter =
IssueFilter::new(&wallet_read.public_key()).expect("Invalid filter");
let issue_filter = IssueFilter::new(&wallet_read.public_key()).expect("Invalid filter");

let slot_tx_env_map = Arc::new(RwLock::new(HashMap::new()));

let issue_set = Arc::new(RwLock::new(IssueRequestsMap::new()));
Expand Down
3 changes: 1 addition & 2 deletions clients/wallet/src/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,8 @@ impl WalletStateStorage {
Ok(_) => tracing::debug!("remove_tx_envelope(): Deleted file with sequence {sequence}"),
Err(e) => tracing::error!(
"remove_tx_envelope(): Failed to delete file with sequence {sequence}: {e:?}"
)
),
}

}

#[allow(dead_code)]
Expand Down
4 changes: 2 additions & 2 deletions clients/wallet/src/resubmissions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,11 +266,11 @@ impl StellarWallet {
// assume that we already submitted this transaction.
match response.source_account() {
// no source account was found; move on to the next response
Err(_) => continue,
Err(_) => continue,
// the wallet's public key is not this response's source account;
// move on to the next response
Ok(source_account) if !source_account.eq(&own_public_key) => continue,
_ => {}
_ => {},
}

// Check that the transaction contains the memo that we want to send.
Expand Down

0 comments on commit b6f4695

Please sign in to comment.