Skip to content

feat(wallets): reuse session_id across multiple TrezorSigner #9388

Open
@joshieDo

Description

@joshieDo

Component

Forge

Describe the feature you would like

pub async fn trezors(&self) -> Result<Option<Vec<WalletSigner>>> {
if self.trezor {
create_hw_wallets!(self, utils::create_trezor_signer, wallets);
return Ok(Some(wallets));
}
Ok(None)
}

Currently, every new instance of TrezorSigner is created with their own session_id. If a passphrase is enabled on the device, it means requesting it for every mnemonic index.

Ideally, each TrezorSigner reuses the first created session_id.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions