parent
ac1f90f1a9
commit
2c4079f4c8
|
@ -229,8 +229,12 @@ impl LedgerWallet {
|
||||||
self.write(command, p1, p2, data)?;
|
self.write(command, p1, p2, data)?;
|
||||||
if p1 == P1_CONFIRM && is_last_part(p2) {
|
if p1 == P1_CONFIRM && is_last_part(p2) {
|
||||||
println!("Waiting for remote wallet to approve...");
|
println!("Waiting for remote wallet to approve...");
|
||||||
|
let result = self.read()?;
|
||||||
|
println!("Approved");
|
||||||
|
Ok(result)
|
||||||
|
} else {
|
||||||
|
self.read()
|
||||||
}
|
}
|
||||||
self.read()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fn _get_firmware_version(&self) -> Result<FirmwareVersion, RemoteWalletError> {
|
fn _get_firmware_version(&self) -> Result<FirmwareVersion, RemoteWalletError> {
|
||||||
|
|
Loading…
Reference in New Issue