Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit e17706c

Browse files
author
Tyera Eulberg
authored
Spell out destination (#2977)
1 parent 00767db commit e17706c

File tree

5 files changed

+174
-157
lines changed

5 files changed

+174
-157
lines changed

token/client/src/token.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,15 +480,15 @@ where
480480
/// Mint new tokens
481481
pub async fn mint_to<S2: Signer>(
482482
&self,
483-
dest: &Pubkey,
483+
destination: &Pubkey,
484484
authority: &S2,
485485
amount: u64,
486486
) -> TokenResult<()> {
487487
self.process_ixs(
488488
&[instruction::mint_to(
489489
&self.program_id,
490490
&self.pubkey,
491-
dest,
491+
destination,
492492
&authority.pubkey(),
493493
&[],
494494
amount,

0 commit comments

Comments
 (0)