diff --git a/pystarport/cosmoscli.py b/pystarport/cosmoscli.py index 6dd4c35..93cd105 100644 --- a/pystarport/cosmoscli.py +++ b/pystarport/cosmoscli.py @@ -239,7 +239,6 @@ def query_tx(self, tx_type, tx_value): tx_type, tx_value, home=self.data_dir, - chain_id=self.chain_id, node=self.node_rpc, ) return json.loads(tx) @@ -251,7 +250,6 @@ def query_all_txs(self, addr): addr, home=self.data_dir, keyring_backend="test", - chain_id=self.chain_id, node=self.node_rpc, ) return json.loads(txs) @@ -433,6 +431,7 @@ def get_delegated_amount(self, which_addr): "delegations", which_addr, home=self.data_dir, + node=self.node_rpc, output="json", ) ) @@ -987,7 +986,6 @@ def query_nft(self, denomid): denomid, output="json", home=self.data_dir, - chain_id=self.chain_id, node=self.node_rpc, ) ) @@ -1001,7 +999,6 @@ def query_denom_by_name(self, denomname): denomname, output="json", home=self.data_dir, - chain_id=self.chain_id, node=self.node_rpc, ) ) @@ -1047,7 +1044,6 @@ def query_nft_token(self, denomid, tokenid): tokenid, output="json", home=self.data_dir, - chain_id=self.chain_id, node=self.node_rpc, ) )