From 98d60877ac766b8680f8ab285998bde615baa028 Mon Sep 17 00:00:00 2001 From: Dmitry Demin Date: Tue, 30 Jul 2024 20:21:55 +0200 Subject: [PATCH] Removed resolved FIXME comments --- src/note_encryption/compact_action.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/note_encryption/compact_action.rs b/src/note_encryption/compact_action.rs index 8c4f371a1..d7494d1c8 100644 --- a/src/note_encryption/compact_action.rs +++ b/src/note_encryption/compact_action.rs @@ -25,7 +25,6 @@ impl ShieldedOutput> for Action D::CompactNoteCiphertextBytes { - // FIXME: can use unwrap here? D::CompactNoteCiphertextBytes::from_slice( &self.encrypted_note().enc_ciphertext.as_ref()[..D::COMPACT_NOTE_SIZE], ) @@ -74,9 +73,7 @@ impl ShieldedOutput> for CompactAction< None } - // FIXME: shouldn't it return None like enc_ciphertext does? fn enc_ciphertext_compact(&self) -> D::CompactNoteCiphertextBytes { - // FIXME: can use unwrap here? D::CompactNoteCiphertextBytes::from_slice(self.enc_ciphertext.as_ref()).unwrap() } }