Skip to content

Commit

Permalink
we need to come to a coherent name for the thingie across lrz and zin…
Browse files Browse the repository at this point in the history
…golib
  • Loading branch information
zancas committed Apr 10, 2024
1 parent 870dae9 commit c2baea8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions zingolib/src/wallet/transactions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ impl TransactionRecordMap {
pub fn from_map(map: HashMap<TxId, TransactionRecord>) -> Self {
TransactionRecordMap(map)
}
pub fn get_received_note_from_identifier(
pub fn get_shielded_received_note_from_identifier(
&self,
note_record_reference: super::notes::NoteRecordIdentifier,
) -> Option<
Expand Down Expand Up @@ -67,8 +67,8 @@ mod test {
let hashmap = HashMap::from([(txid, single_transparent_trans_record)]);
let trm = TransactionRecordMap::from_map(hashmap);
let identifier = crate::test_framework::create_note_record_id();
let note = trm.get_received_note_from_identifier(identifier);
assert!(note.is_some());
let note = trm.get_shielded_received_note_from_identifier(identifier);
assert!(note.is_none());
}
}
/// HashMap of all transactions in a wallet, keyed by txid.
Expand Down

0 comments on commit c2baea8

Please sign in to comment.