Skip to content

Commit

Permalink
align transfer
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Apr 23, 2024
1 parent 76cc2b0 commit 74187b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pystarport/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,16 +416,16 @@ def transfer(
coins,
i=0,
generate_only=False,
fees=None,
event_query_tx=True,
**kwargs,
):
return self.cosmos_cli(i).transfer(
from_,
to,
coins,
generate_only,
fees,
event_query_tx=event_query_tx,
**kwargs,
)

def transfer_from_ledger(
Expand Down
4 changes: 2 additions & 2 deletions pystarport/cosmoscli.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,8 @@ def transfer(
to,
coins,
generate_only=False,
fees=None,
event_query_tx=True,
**kwargs,
):
rsp = json.loads(
self.raw(
Expand All @@ -363,7 +363,7 @@ def transfer(
keyring_backend="test",
chain_id=self.chain_id,
node=self.node_rpc,
fees=fees,
**kwargs,
)
)
if not generate_only and rsp["code"] == 0 and event_query_tx:
Expand Down

0 comments on commit 74187b8

Please sign in to comment.