File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1000,7 +1000,7 @@ def test_withdraw_reward_after_unilateral_cancel(self):
1000
1000
1001
1001
# Fetch amount of rewards for taker
1002
1002
path = reverse ("robot" )
1003
- taker_headers = trade .get_robot_auth (trade .maker_index )
1003
+ taker_headers = trade .get_robot_auth (trade .taker_index )
1004
1004
response = self .client .get (path , ** taker_headers )
1005
1005
1006
1006
self .assertEqual (response .status_code , 200 )
@@ -1012,8 +1012,8 @@ def test_withdraw_reward_after_unilateral_cancel(self):
1012
1012
invoice = add_invoice ("robot" , response .json ()["earned_rewards" ])
1013
1013
signed_payout_invoice = sign_message (
1014
1014
invoice ,
1015
- passphrase_path = f"tests/robots/{ trade .maker_index } /token" ,
1016
- private_key_path = f"tests/robots/{ trade .maker_index } /enc_priv_key" ,
1015
+ passphrase_path = f"tests/robots/{ trade .taker_index } /token" ,
1016
+ private_key_path = f"tests/robots/{ trade .taker_index } /enc_priv_key" ,
1017
1017
)
1018
1018
body = {
1019
1019
"invoice" : signed_payout_invoice ,
You can’t perform that action at this time.
0 commit comments