diff --git a/src/note.rs b/src/note.rs index e9bcd14..73721ee 100644 --- a/src/note.rs +++ b/src/note.rs @@ -1,7 +1,8 @@ use crate::bindings; use crate::transaction::Transaction; +use std::hash::Hash; -#[derive(Debug, Clone, Copy, Eq, Ord, PartialEq, PartialOrd)] +#[derive(Debug, Clone, Copy, Eq, Ord, PartialEq, PartialOrd, Hash)] pub struct NoteKey(u64); impl NoteKey {