mirror of
git://holbrook.no/eth-address-index
synced 2026-04-29 03:41:03 +02:00
Use explicit pre-release signeR
This commit is contained in:
@@ -19,6 +19,7 @@ from chainlib.chain import ChainSpec
|
||||
from chainlib.eth.tx import receipt
|
||||
from eth_erc20 import ERC20
|
||||
from chainlib.eth.address import to_checksum_address
|
||||
from hexathon import add_0x
|
||||
|
||||
# local imports
|
||||
from eth_token_index import TokenUniqueSymbolIndex
|
||||
|
||||
@@ -49,7 +49,10 @@ chain_spec = ChainSpec.from_chain_str(config.get('CHAIN_SPEC'))
|
||||
|
||||
|
||||
def out_element(e, w=sys.stdout):
|
||||
w.write(e[1] + '\t' + e[0] + '\n')
|
||||
if config.get('_RAW'):
|
||||
w.write(e[1] + '\n')
|
||||
else:
|
||||
w.write(e[1] + '\t' + e[0] + '\n')
|
||||
|
||||
|
||||
def element(ifc, conn, contract_address, token_symbol, w=sys.stdout):
|
||||
|
||||
Reference in New Issue
Block a user