File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 8
8
9
9
from test_framework .p2p import P2PInterface , P2P_SERVICES
10
10
from test_framework .socks5 import Socks5Configuration , Socks5Server
11
- from test_framework .messages import CAddress , hash256
11
+ from test_framework .messages import CAddress , keccak256
12
12
from test_framework .test_framework import BGLTestFramework
13
13
from test_framework .util import check_node_connections , assert_equal , p2p_port
14
14
@@ -132,7 +132,7 @@ def run_test(self):
132
132
# to a host without our required services, even if its address is in the anchors.dat file
133
133
new_data = bytearray (data )[:- 32 ]
134
134
new_data [services_index ] = P2P_SERVICES
135
- new_data_hash = hash256 (new_data )
135
+ new_data_hash = keccak256 (new_data )
136
136
file_handler .write (new_data + new_data_hash )
137
137
138
138
self .log .info ("Restarting node attempts to reconnect to anchors" )
You can’t perform that action at this time.
0 commit comments