From 02f840e754a25d74da57314474561c88e9c42456 Mon Sep 17 00:00:00 2001 From: Elizabeth Engelman <4752801+elizabethengelman@users.noreply.github.com> Date: Fri, 3 May 2024 16:05:27 -0400 Subject: [PATCH] Update one last error --- cmd/crates/stellar-ledger/src/lib.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/cmd/crates/stellar-ledger/src/lib.rs b/cmd/crates/stellar-ledger/src/lib.rs index 1eaede12f..e7456b7c8 100644 --- a/cmd/crates/stellar-ledger/src/lib.rs +++ b/cmd/crates/stellar-ledger/src/lib.rs @@ -266,10 +266,9 @@ where let error_string = format!("Ledger APDU retcode: 0x{retcode:X}"); Err(LedgerError::APDUExchangeError(error_string)) } - Err(_err) => { - //FIX ME!!!! - Err(LedgerError::LedgerConnectionError("test".to_string())) - } + Err(_err) => Err(LedgerError::LedgerConnectionError( + "Error connecting to ledger device".to_string(), + )), } } }