From 6f3ba279da70c828b54a09b76741137ebf41b075 Mon Sep 17 00:00:00 2001 From: SirPalamede <90028030+SirPalamede@users.noreply.github.com> Date: Sun, 28 Nov 2021 18:41:10 +1000 Subject: [PATCH] signers needs to be passed instead of owner (#98) 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 --- pyserum/market/market.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyserum/market/market.py b/pyserum/market/market.py index b588924..cba0048 100644 --- a/pyserum/market/market.py +++ b/pyserum/market/market.py @@ -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)