Skip to content

Commit

Permalink
chore: fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
neilcampbell committed May 13, 2024
1 parent aae1f75 commit 97955ae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/html/searchindex.js

Large diffs are not rendered by default.

6 changes: 2 additions & 4 deletions src/algokit_utils/_transfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,11 @@ def _send_transaction(
client.send_transaction(signed_transaction)

txid = transaction.get_txid() # type: ignore[no-untyped-call]
logger.debug(
f"Sent transaction {txid} type={transaction.type} from "
f"{_get_address(parameters.from_account)}" # type: ignore[no-untyped-call]
)
logger.debug(f"Sent transaction {txid} type={transaction.type} from {_get_address(parameters.from_account)}")

return transaction


def _get_address(account: Account | AccountTransactionSigner) -> str:
if type(account) is Account:
return account.address
Expand Down
1 change: 1 addition & 0 deletions tests/test_transfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ def test_transfer_algo(algod_client: "AlgodClient", to_account: Account, funded_
actual_amount = to_account_info.get("amount")
assert actual_amount == requested_amount


def test_transfer_algo_rekey_account(
algod_client: "AlgodClient", to_account: Account, rekeyed_account: Account
) -> None:
Expand Down

0 comments on commit 97955ae

Please sign in to comment.