Use explicit pre-release signeR

This commit is contained in:
nolash
2021-08-24 21:43:06 +02:00
parent 9cbd168524
commit 9545e8862d
4 changed files with 9 additions and 5 deletions

View File

@@ -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

View File

@@ -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):