We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
get_mint()
mint()
1 parent 0381af5 commit 591ecabCopy full SHA for 591ecab
rust/src/lib.rs
@@ -305,18 +305,18 @@ impl TransactionBody {
305
self.mint = Some(mint.clone())
306
}
307
308
- pub fn get_mint(&self) -> Option<Mint> {
+ pub fn mint(&self) -> Option<Mint> {
309
self.mint.clone()
310
311
312
/// This function returns the mint value of the transaction
313
- /// Use `get_mint` instead.
+ /// Use `.mint()` instead.
314
#[deprecated(
315
since = "10.0.0",
316
- note = "Weird naming. Use `get_mint`"
+ note = "Weird naming. Use `.mint()`"
317
)]
318
pub fn multiassets(&self) -> Option<Mint> {
319
- self.get_mint()
+ self.mint()
320
321
322
pub fn set_script_data_hash(&mut self, script_data_hash: &ScriptDataHash) {
0 commit comments