mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-06-02 07:09:29 +00:00
minor comments
This commit is contained in:
parent
547ce86902
commit
7859a3aff9
@ -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"
|
||||
|
||||
@ -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)?;
|
||||
|
||||
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user