Off by one error in core/transfer.py
Motivation
----------

Reported by Patrick Austin

It looks like this commit https://github.com/rucio/rucio/commit/b519409488ad2af867c866e4e72cd96ecdbf86bc
introduced a bug in core/transfer.py where another field was selected out of the database, but the destination RSE in line 1254 was not updated to reflect this.


Modification
------------

Change 9 to 10 in line 1254

diff --git a/lib/rucio/core/transfer.py b/lib/rucio/core/transfer.py
index e95e51a48..2aa364698 100644
--- a/lib/rucio/core/transfer.py
+++ b/lib/rucio/core/transfer.py
@@ -27,6 +27,7 @@
 # - Gabriele <sucre.91@hotmail.it>, 2019
 # - Jaroslav Guenther <jaroslav.guenther@cern.ch>, 2019-2020
 # - Eli Chadwick <eli.chadwick@stfc.ac.uk>, 2020
+# - Patrick Austin <patrick.austin@stfc.ac.uk>, 2020
 #
 # PY3K COMPATIBLE
 
@@ -1355,7 +1356,7 @@ def __list_transfer_requests_and_source_replicas(total_workers=0, worker_number=
     if rses:
         result = []
         for item in query.all():
-            dest_rse_id = item[9]
+            dest_rse_id = item[10]
             if dest_rse_id in rses:
                 result.append(item)
         return result
['lib/rucio/core/transfer.py']