parameters: (transaction, *private_keys)
return_statement: return transaction
docstring: Add specified signatures to a transaction. Source transaction will be modified
          :param transaction: the transaction to be signed
          :param private_keys: hex strings of private keys to sign the transaction
          :return: the modified transaction
docstring_summary: Add specified signatures to a transaction. Source transaction will be modified
          :param transaction: the transaction to be signed
          :param private_keys: hex strings of private keys to sign the transaction
          :return: the modified transaction
docstring_tokens: Add specified signatures to a transaction . Source transaction will be modified : param transaction : the transaction to be signed : param private_keys : hex strings of private keys to sign the transaction : return : the modified transaction
function: def sign_transaction(transaction, *private_keys):
          """
          Add specified signatures to a transaction. Source transaction will be modified
          :param transaction: the transaction to be signed
          :param private_keys: hex strings of private keys to sign the transaction
          :return: the modified transaction
          """
          assert len(private_keys), 'At least one private key has to be passed'
          signatures = []
          for private_key in private_keys:
              signature = IrohaCrypto._signature(transaction, private_key)
              signatures.append(signature)
          transaction.signatures.extend(signatures)
          return transaction
function_tokens: def sign_transaction ( transaction , * private_keys ) : assert len ( private_keys ) , 'At least one private key has to be passed' signatures = [ ] for private_key in private_keys : signature = IrohaCrypto . _signature ( transaction , private_key ) signatures . append ( signature ) transaction . signatures . extend ( signatures ) return transaction