Upgrade py-abci

This commit is contained in:
kansi 2017-12-01 14:43:17 +05:30
parent 1e104ad2c4
commit 228bd83ae7
2 changed files with 7 additions and 3 deletions

View File

@ -62,8 +62,12 @@ class App(BaseApplication):
logger.debug('check_tx: INVALID') logger.debug('check_tx: INVALID')
return Result.error() return Result.error()
def begin_block(self, block_hash, header): def begin_block(self, req_begin_block):
"""Initialize list of transaction.""" """Initialize list of transaction.
Args:
req_begin_block: block object which contains block header
and block hash.
"""
self.block_txn_ids = [] self.block_txn_ids = []

View File

@ -84,7 +84,7 @@ install_requires = [
'aiohttp~=2.0', 'aiohttp~=2.0',
'python-rapidjson-schema==0.1.1', 'python-rapidjson-schema==0.1.1',
'statsd==3.2.1', 'statsd==3.2.1',
'abci~=0.2.0', 'abci~=0.3.0',
] ]
setup( setup(