Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion blockapi/api/cosmos.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@ def _parse_messages(self, tx):
]

parsed_msgs = []
for msg in tx['tx']['value']['msg']:

for msg in tx['tx']['value']['msg']:
msg_type = self._convert_msg_kind(msg['type'])
parsed_msg = self._get_msg_data(msg_type, msg['value'])

Expand Down
1 change: 0 additions & 1 deletion blockapi/api/terra_money.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ def parse_tx(self, tx):
}

def parse_tx_amount(self, tx_value):

if 'amount' not in tx_value:
return None

Expand Down
1 change: 0 additions & 1 deletion blockapi/test/api/test_binance.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class TestBinanceAPI:

ADDRESS = test_addresses["BNB"][0]

def test_init(self):
Expand Down
1 change: 0 additions & 1 deletion blockapi/test/api/test_cosmos.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,5 @@ def test_get_outgoing_txs(self):


class TestResponse:

text = None
status_code = 200
1 change: 0 additions & 1 deletion blockapi/test/api/test_dcrdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,5 @@ def test_get_tx(self):


class TestResponse:

text = None
status_code = 200
1 change: 0 additions & 1 deletion blockapi/test/api/test_terra_money.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@


class TestTerraMoneyApi:

ADDRESS = test_addresses["LUNA"][0]

def test_init(self):
Expand Down
1 change: 0 additions & 1 deletion blockapi/test/api/test_tzscan.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class TestTzscanAPI:

ADDRESS = test_addresses["XTZ"][0]
REWARD_ADDRESS = test_addresses["XTZ"][1]

Expand Down
3 changes: 0 additions & 3 deletions blockapi/test/test_blockapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def run_all(self):

# Create test sample
for currency in self.currencies:

if not test_addresses.get(currency):
continue

Expand All @@ -59,7 +58,6 @@ def run(self):
classes = get_api_classes_for_coin(symbol=currency['currency'])

for class_ in classes:

# try to load api_key
api_key = get_test_api_key(class_.__name__)
try:
Expand Down Expand Up @@ -137,7 +135,6 @@ def data(self, _data):
valid_data = []
not_valid_data = []
for d in _data:

if d['currency'] not in self.currencies:
not_valid_data.append({'message': 'Symbol not valid', 'data': d})
continue
Expand Down
1 change: 0 additions & 1 deletion blockapi/v2/api/covalenth/arbitrum.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class ArbitrumCovalentApi(CovalentApiBase):

CHAIN_ID = 42161

api_options = ApiOptions(
Expand Down
1 change: 0 additions & 1 deletion blockapi/v2/api/covalenth/astar.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class AstarCovalentApi(CovalentApiBase):

CHAIN_ID = 336

api_options = ApiOptions(
Expand Down
1 change: 0 additions & 1 deletion blockapi/v2/api/covalenth/avalanche.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class AvalancheCovalentApi(CovalentApiBase):

CHAIN_ID = 43114

api_options = ApiOptions(
Expand Down
1 change: 0 additions & 1 deletion blockapi/v2/api/covalenth/axie.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class AxieCovalentApi(CovalentApiBase):

CHAIN_ID = 2020

api_options = ApiOptions(
Expand Down
1 change: 0 additions & 1 deletion blockapi/v2/api/covalenth/binance_smart_chain.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class BscCovalentApi(CovalentApiBase):

CHAIN_ID = 56

api_options = ApiOptions(
Expand Down
1 change: 0 additions & 1 deletion blockapi/v2/api/covalenth/ethereum.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class EthCovalentApi(CovalentApiBase):

CHAIN_ID = 1

api_options = ApiOptions(
Expand Down
1 change: 0 additions & 1 deletion blockapi/v2/api/covalenth/fantom.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class FantomCovalentApi(CovalentApiBase):

CHAIN_ID = 250

api_options = ApiOptions(
Expand Down
1 change: 0 additions & 1 deletion blockapi/v2/api/covalenth/heco.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class HECOCovalentApi(CovalentApiBase):

CHAIN_ID = 128

api_options = ApiOptions(
Expand Down
1 change: 0 additions & 1 deletion blockapi/v2/api/covalenth/iotex.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class IoTEXCovalentApi(CovalentApiBase):

CHAIN_ID = 4689

api_options = ApiOptions(
Expand Down
1 change: 0 additions & 1 deletion blockapi/v2/api/covalenth/klaytn.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class KlaytnCovalentApi(CovalentApiBase):

CHAIN_ID = 8217

api_options = ApiOptions(
Expand Down
1 change: 0 additions & 1 deletion blockapi/v2/api/covalenth/moonbeam.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class MoonBeamCovalentApi(CovalentApiBase):

CHAIN_ID = 1285

api_options = ApiOptions(
Expand Down
1 change: 0 additions & 1 deletion blockapi/v2/api/covalenth/palm.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class PalmCovalentApi(CovalentApiBase):

CHAIN_ID = 11297108109

api_options = ApiOptions(
Expand Down
1 change: 0 additions & 1 deletion blockapi/v2/api/covalenth/polygon.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class PolygonCovalentApi(CovalentApiBase):

CHAIN_ID = 137

api_options = ApiOptions(
Expand Down
1 change: 0 additions & 1 deletion blockapi/v2/api/covalenth/rsk.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class RskCovalentApi(CovalentApiBase):

CHAIN_ID = 30

api_options = ApiOptions(
Expand Down