diff --git a/optimal-buy-gdax.py b/optimal-buy-gdax.py index a2969d9..931ca40 100755 --- a/optimal-buy-gdax.py +++ b/optimal-buy-gdax.py @@ -309,7 +309,7 @@ def withdraw(accounts): else: execute_withdrawal(account['balance'], coin, - coin[coin]['withdrawal_address']) + coins[coin]['withdrawal_address']) def get_withdrawn_balances():