diff --git a/python/tools/benchmark.py b/python/tools/benchmark.py
index 5bdfc321df9656d9e23c3313aa6098be8d6ae050..3c6c02c35856d8c13ad5b5df57a17e2b876acff5 100755
--- a/python/tools/benchmark.py
+++ b/python/tools/benchmark.py
@@ -757,7 +757,7 @@ class PerformanceTest(FeatureTest):
                 with lock:
                     done += 1
                     start = time.time()
-                    bootstrap.front().get(PyInfoHash.getRandom(), getcb, donecb)
+                    bootstrap.front().get(InfoHash.getRandom(), getcb, donecb)
                     while done > 0:
                         lock.wait()
                         update_plot()