From 74187b8c97be8d458162a8429bc4471432563ccc Mon Sep 17 00:00:00 2001 From: mmsqe Date: Tue, 23 Apr 2024 18:27:57 +0800 Subject: [PATCH] align transfer --- pystarport/cluster.py | 4 ++-- pystarport/cosmoscli.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pystarport/cluster.py b/pystarport/cluster.py index df68182..3b29a9f 100644 --- a/pystarport/cluster.py +++ b/pystarport/cluster.py @@ -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( diff --git a/pystarport/cosmoscli.py b/pystarport/cosmoscli.py index 1a4337a..55b21b8 100644 --- a/pystarport/cosmoscli.py +++ b/pystarport/cosmoscli.py @@ -346,8 +346,8 @@ def transfer( to, coins, generate_only=False, - fees=None, event_query_tx=True, + **kwargs, ): rsp = json.loads( self.raw( @@ -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: