def add_transaction(self, transaction: Transaction):
    "\n        Add transaction to block\n        :param transaction: Transaction object (see transaction.py)\n        :raise Validation error if transaction isn't valid.\n        :return: None\n        "
    self.transactions.append(transaction)
Add transaction to block
:param transaction: Transaction object (see transaction.py)
:raise Validation error if transaction isn't valid.
:return: None
def add_transaction(self, transaction: Transaction):
    "\n        Add transaction to block\n        :param transaction: Transaction object (see transaction.py)\n        :raise Validation error if transaction isn't valid.\n        :return: None\n        "
    self.transactions.append(transaction)