@@ -33,7 +33,7 @@ def run_test(self):
33
33
# default permissions (no specific permissions)
34
34
["-whitelist=127.0.0.1" ],
35
35
# Make sure the default values in the command line documentation match the ones here
36
- ["relay" , "noban" , "mempool" , "download" ])
36
+ ["addr" , " relay" , "noban" , "mempool" , "download" ])
37
37
38
38
self .checkpermission (
39
39
# no permission (even with forcerelay)
@@ -43,14 +43,14 @@ def run_test(self):
43
43
self .checkpermission (
44
44
# relay permission removed (no specific permissions)
45
45
["-whitelist=127.0.0.1" , "-whitelistrelay=0" ],
46
- ["noban" , "mempool" , "download" ])
46
+ ["addr" , " noban" , "mempool" , "download" ])
47
47
48
48
self .checkpermission (
49
49
# forcerelay and relay permission added
50
50
# Legacy parameter interaction which set whitelistrelay to true
51
51
# if whitelistforcerelay is true
52
52
["-whitelist=127.0.0.1" , "-whitelistforcerelay" ],
53
- ["forcerelay" , "relay" , "noban" , "mempool" , "download" ])
53
+ ["addr" , " forcerelay" , "relay" , "noban" , "mempool" , "download" ])
54
54
55
55
# Let's make sure permissions are merged correctly
56
56
# For this, we need to use whitebind instead of bind
0 commit comments