Skip to content

Commit

Permalink
Make build_swap_tag() public (#817)
Browse files Browse the repository at this point in the history
* refactor: make build_swap_tag public

* chore: update CHANGELOG
  • Loading branch information
Fumuran authored Aug 5, 2024
1 parent 781ab43 commit 3e77745
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- Changed `AccountCode` procedures from merkle tree to sequential hash + added storage_offset support (#763).
- Renamed `NoteExecutionHint` to `NoteExecutionMode` and added new `NoteExecutionHint` to `NoteMetadata` (#812).
- [BREAKING] Refactored and simplified `NoteOrigin` and `NoteInclusionProof` structs (#810, #814).
- Made `miden_lib::notes::build_swap_tag()` function public (#817).

## 0.4.0 (2024-07-03)

Expand Down
2 changes: 1 addition & 1 deletion miden-lib/src/notes/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ pub fn create_swap_note<R: FeltRng>(
/// together as offered_asset_tag + requested_asset tag.
///
/// Network execution hint for the returned tag is set to `Local`.
fn build_swap_tag(
pub fn build_swap_tag(
note_type: NoteType,
offered_asset: &Asset,
requested_asset: &Asset,
Expand Down

0 comments on commit 3e77745

Please sign in to comment.