raise KrpcError, (KRPC_ERROR_MALFORMED_PACKET, "no transaction ID specified")
if type(msg[TID]) != str:
raise KrpcError, (KRPC_ERROR_MALFORMED_PACKET, "transaction id is not a string")
raise KrpcError, (KRPC_ERROR_MALFORMED_PACKET, "no transaction ID specified")
if type(msg[TID]) != str:
raise KrpcError, (KRPC_ERROR_MALFORMED_PACKET, "transaction id is not a string")