Skip to content

Commit

Permalink
signers needs to be passed instead of owner (#98)
Browse files Browse the repository at this point in the history
In the case that wrapped SOL account is created, the keypair for the new account was not being passed to send transaction resulting in an error when using the settle funds method
  • Loading branch information
SirPalamede authored Nov 28, 2021
1 parent 58f1012 commit 6f3ba27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyserum/market/market.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,4 @@ def settle_funds( # pylint: disable=too-many-arguments
min_bal_for_rent_exemption=min_bal_for_rent_exemption,
should_wrap_sol=should_wrap_sol,
)
return self._conn.send_transaction(transaction, owner, opts=opts)
return self._conn.send_transaction(transaction, *signers, opts=opts)

0 comments on commit 6f3ba27

Please sign in to comment.