Bugfix: Add missing signet key (#2368)

* add missing signet key
* fix rpc tests
This commit is contained in:
Manolis Mandrapilias 2023-08-23 17:05:39 +02:00 committed by GitHub
parent 72fed92dd5
commit 622e111ba0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View file

@ -60,7 +60,13 @@ def get_rpcconfig(datadir=get_default_datadir()) -> dict:
}
"""
config = {
"bitcoin.conf": {"default": {}, "main": {}, "test": {}, "regtest": {}},
"bitcoin.conf": {
"default": {},
"main": {},
"test": {},
"regtest": {},
"signet": {},
},
"cookies": {},
}
if not os.path.isdir(datadir): # we don't know where to search for files

View file

@ -57,6 +57,7 @@ def test_get_rpcconfig1():
"main": {"rpcport": "8332"},
"regtest": {"rpcport": "18443"},
"test": {"rpcport": "18332"},
"signet": {},
}
@ -88,6 +89,7 @@ def test_get_rpcconfig2(empty_data_folder):
"zmqpubhashblock": "tcp://127.0.0.1:29000",
},
"test": {},
"signet": {},
}