Skip to content

Commit

Permalink
Use all signers when constructing a SPL transfer transaction (#476)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonney authored Dec 11, 2024
1 parent 2afacbd commit 36796ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/spl/token/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ def _transfer_args(
)
]
msg = Message.new_with_blockhash(ixs, self.payer.pubkey(), recent_blockhash)
txn = Transaction([self.payer], msg, recent_blockhash)
txn = Transaction([self.payer, *signers], msg, recent_blockhash)
return txn, opts

def _set_authority_args(
Expand Down Expand Up @@ -666,7 +666,7 @@ def _transfer_checked_args(
)
]
msg = Message.new_with_blockhash(ixs, self.payer.pubkey(), recent_blockhash)
txn = Transaction([self.payer], msg, recent_blockhash)
txn = Transaction([self.payer, *signers], msg, recent_blockhash)
return txn, opts

def _mint_to_checked_args(
Expand Down

0 comments on commit 36796ec

Please sign in to comment.