diff --git a/src/cli/input_notes.rs b/src/cli/input_notes.rs index 2c3566c30..4f4a32111 100644 --- a/src/cli/input_notes.rs +++ b/src/cli/input_notes.rs @@ -69,10 +69,7 @@ fn show_input_note( let hash = Digest::try_from(hash) .map_err(|err| format!("Failed to parse input note hash: {}", err))?; - let note = client - .store() - .get_input_note_by_hash(hash) - .map_err(|err| err.to_string())?; + let note = client.get_input_note(hash).map_err(|err| err.to_string())?; // print note summary print_notes_summary(core::iter::once(¬e)); diff --git a/src/lib.rs b/src/lib.rs index 83655f7be..a5ba17c89 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -43,14 +43,6 @@ impl Client { }) } - // PUBLIC ACCESSORS - // -------------------------------------------------------------------------------------------- - - /// Returns a reference to the store - pub fn store(&self) -> &Store { - &self.store - } - // ACCOUNT INSERTION // --------------------------------------------------------------------------------------------