Skip to content

Commit

Permalink
Merge pull request #28 from delta575/develop
Browse files Browse the repository at this point in the history
Fixed withdrawals for fiat money
  • Loading branch information
delta575 committed Sep 11, 2017
2 parents 255932c + f65488e commit ce26beb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
coverage==4.4.1
pytest==3.2.0
python-decouple==3.0
requests==2.18.3
pytest==3.2.1
python-decouple==3.1
requests==2.18.4
tox==2.7.0
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setup(
name='trading_api_wrappers',
version='0.3.4',
version='0.3.5',
description='Trading API Wrappers for Python 3.5',
url='https://github.com/delta575/trading-api-wrappers',
author='Felipe Aránguiz, Sebastián Aránguiz',
Expand Down
2 changes: 1 addition & 1 deletion trading_api_wrappers/surbtc/client_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def deposits(self, currency: _c.Currency):
def withdrawal(self,
currency: _c.Currency,
amount: float,
target_address,
target_address: str=None,
amount_includes_fee: bool=True,
simulate: bool=False):
currency = _c.Currency.check(currency).value
Expand Down
4 changes: 2 additions & 2 deletions trading_api_wrappers/surbtc/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,8 +389,8 @@ class TransferData(
def create_from_json(cls, transfer, address_key):
return cls(
type=transfer['type'],
address=transfer[address_key],
tx_hash=transfer['tx_hash']
address=transfer.get(address_key),
tx_hash=transfer.get('tx_hash'),
)


Expand Down

0 comments on commit ce26beb

Please sign in to comment.