openpgp-card-sequoia: rename Card<Admin>::as_open to ::as_transaction
This commit is contained in:
parent
212e7f335f
commit
2601e58fe3
1 changed files with 1 additions and 1 deletions
|
@ -819,7 +819,7 @@ impl<'app, 'open> Card<Sign<'app, 'open>> {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'app, 'open> Card<Admin<'app, 'open>> {
|
impl<'app, 'open> Card<Admin<'app, 'open>> {
|
||||||
pub fn as_open(&'_ mut self) -> &mut Card<Transaction<'app>> {
|
pub fn as_transaction(&'_ mut self) -> &mut Card<Transaction<'app>> {
|
||||||
self.state.tx
|
self.state.tx
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue