aboutsummaryrefslogtreecommitdiff
path: root/test/functional/p2p_getaddr_caching.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/p2p_getaddr_caching.py')
-rwxr-xr-xtest/functional/p2p_getaddr_caching.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/p2p_getaddr_caching.py b/test/functional/p2p_getaddr_caching.py
index c9278eab92..aeeff2e4de 100755
--- a/test/functional/p2p_getaddr_caching.py
+++ b/test/functional/p2p_getaddr_caching.py
@@ -14,7 +14,7 @@ from test_framework.messages import (
)
from test_framework.mininode import (
P2PInterface,
- mininode_lock
+ p2p_lock
)
from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import (
@@ -44,7 +44,7 @@ class AddrReceiver(P2PInterface):
self.received_addrs = None
def get_received_addrs(self):
- with mininode_lock:
+ with p2p_lock:
return self.received_addrs
def on_addr(self, message):