Skip to content

Commit

Permalink
bump patch version to 1.2.2, fix keypair string bug on /transactions,…
Browse files Browse the repository at this point in the history
… verify with test
  • Loading branch information
JakeUrban committed Feb 17, 2021
1 parent ff8acf0 commit d96a4bf
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
author = "Jake Urban"

# The short X.Y version
version = "1.2.1"
version = "1.2.2"
# The full version, including alpha/beta/rc tags
release = "1.2.1"
release = "1.2.2"


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion polaris/polaris/management/commands/watch_transactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def _find_matching_payment_data(
transaction,
response["id"],
response["paging_token"],
ops[idx].source or horizon_tx.source,
ops[idx].source or horizon_tx.source.public_key,
)
matching_payment_data = maybe_payment_data
break
Expand Down
4 changes: 2 additions & 2 deletions polaris/polaris/tests/processes/test_watch_transactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ def test_process_response_success(client):
Command.process_response(json, TEST_ASSET_DISTRIBUTION_PUBLIC_KEY)

transaction.refresh_from_db()
assert transaction.from_address
assert transaction.stellar_transaction_id
assert transaction.from_address == SUCCESS_PAYMENT_TRANSACTION_JSON["source"]
assert transaction.stellar_transaction_id == SUCCESS_PAYMENT_TRANSACTION_JSON["id"]
assert transaction.status_eta == 0
assert transaction.paging_token
assert transaction.status == Transaction.STATUS.pending_anchor
Expand Down
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="django-polaris",
version="1.2.1",
version="1.2.2",
description="An extendable Django server for Stellar Ecosystem Proposals",
long_description=long_description,
long_description_content_type="text/x-rst",
Expand Down

0 comments on commit d96a4bf

Please sign in to comment.