Skip to content

Commit

Permalink
display
Browse files Browse the repository at this point in the history
  • Loading branch information
darioAnongba committed Feb 13, 2025
1 parent 3a00e38 commit 17f2c17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ impl Txid {
}

#[wasm_bindgen(js_name = toString)]
pub fn to_string(&self) -> String {
pub fn display(&self) -> String {
self.0.to_string()
}
}
Expand Down

0 comments on commit 17f2c17

Please sign in to comment.