def _raw_data(self):
    return {'index': self.index, 'timestamp': self.timestamp, 'transactions': sorted([transaction.to_dict() for transaction in self.transactions], key=(lambda t: t['nonce'])), 'previous_hash': self.previous_hash, 'forger': self.forger}
def _raw_data(self):
    return {'index': self.index, 'timestamp': self.timestamp, 'transactions': sorted([transaction.to_dict() for transaction in self.transactions], key=(lambda t: t['nonce'])), 'previous_hash': self.previous_hash, 'forger': self.forger}