Merge branch 'lash/admin-api-account-check' into 'master'

Add admin api account check method

See merge request grassrootseconomics/cic-internal-integration!27
This commit is contained in:
Louis Holbrook
2021-02-15 11:06:28 +00:00
4 changed files with 16 additions and 4 deletions

View File

@@ -101,6 +101,19 @@ class AdminApi:
session.close()
def have_account(self, address_hex, chain_str):
s_have = celery.signature(
'cic_eth.eth.account.have',
[
address_hex,
chain_str,
],
queue=self.queue,
)
t = s_have.apply_async()
return t.get()
def resend(self, tx_hash_hex, chain_str, in_place=True, unlock=False):
logg.debug('resend {}'.format(tx_hash_hex))
s_get_tx_cache = celery.signature(

View File

@@ -10,7 +10,7 @@ version = (
0,
10,
0,
'alpha.25',
'alpha.26',
)
version_object = semver.VersionInfo(