minor comments

This commit is contained in:
Marvin Jones 2026-05-29 09:42:39 -04:00
parent 547ce86902
commit 7859a3aff9
3 changed files with 3 additions and 3 deletions

View File

@ -123,4 +123,4 @@ sleep 15
echo "priv-sender state (balance should have decreased by 5):"
wallet account get --account-id "$PRIV_SENDER"
echo "Keycard path 1 state (balance should have increased by 5):"
wallet account get --account-id "m/44'/60'/0'/0/1"
wallet account get --account-id "m/44'/60'/0'/0/1"

View File

@ -417,7 +417,7 @@ impl AccountManager {
for path in keycard_paths {
sigs.push(wallet.sign_message_for_path(py, path, &message_hash)?);
}
drop(wallet.close_session(py));
let _res = wallet.close_session(py);
Ok(())
})
.map_err(anyhow::Error::from)?;

View File

@ -27,7 +27,7 @@ impl KeycardSessionContext {
pub fn close(self, py: Python<'_>) {
if let Some(w) = self.wallet {
drop(w.close_session(py));
let _res = w.close_session(py);
}
}
}