Skip to content

Commit fac6ef4

Browse files
author
MarcoFalke
committed
test: Add test for no net permission
1 parent ffff3fe commit fac6ef4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/functional/p2p_permissions.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ def run_test(self):
4242
["relay", "noban", "mempool"],
4343
True)
4444

45+
self.checkpermission(
46+
# no permission (even with forcerelay)
47+
["[email protected]", "-whitelistforcerelay=1"],
48+
[],
49+
False)
50+
4551
self.checkpermission(
4652
# relay permission removed (no specific permissions)
4753
["-whitelist=127.0.0.1", "-whitelistrelay=0"],

0 commit comments

Comments
 (0)