def __init__(self, error_code, block_coinbase_map=None, shard_stats=None):
    self.error_code = error_code
    self.block_coinbase_map = (block_coinbase_map or {})
    self.shard_stats = shard_stats
def __init__(self, error_code, block_coinbase_map=None, shard_stats=None):
    self.error_code = error_code
    self.block_coinbase_map = (block_coinbase_map or {})
    self.shard_stats = shard_stats