Merge branch 'lash/no-none-callbacks' into 'master'
bug: Do not call none callbacks on token proof check See merge request grassrootseconomics/cic-internal-integration!293
This commit is contained in:
commit
e3d39a2144
@ -524,7 +524,10 @@ def verify_token_info(self, tokens, chain_spec_dict, success_callback, error_cal
|
|||||||
],
|
],
|
||||||
queue=queue,
|
queue=queue,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if success_callback != None:
|
||||||
s.link(success_callback)
|
s.link(success_callback)
|
||||||
|
if error_callback != None:
|
||||||
s.on_error(error_callback)
|
s.on_error(error_callback)
|
||||||
s.apply_async()
|
s.apply_async()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user