Print approved msg after Ledger interaction (#8771)

automerge
This commit is contained in:
Tyera Eulberg 2020-03-10 15:08:51 -06:00 committed by GitHub
parent ac1f90f1a9
commit 2c4079f4c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -229,8 +229,12 @@ impl LedgerWallet {
self.write(command, p1, p2, data)?;
if p1 == P1_CONFIRM && is_last_part(p2) {
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> {