Skip to content

Commit 622e111

Browse files
authored
Bugfix: Add missing signet key (#2368)
* add missing signet key * fix rpc tests
1 parent 72fed92 commit 622e111

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/cryptoadvance/specter/rpc.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,13 @@ def get_rpcconfig(datadir=get_default_datadir()) -> dict:
6060
}
6161
"""
6262
config = {
63-
"bitcoin.conf": {"default": {}, "main": {}, "test": {}, "regtest": {}},
63+
"bitcoin.conf": {
64+
"default": {},
65+
"main": {},
66+
"test": {},
67+
"regtest": {},
68+
"signet": {},
69+
},
6470
"cookies": {},
6571
}
6672
if not os.path.isdir(datadir): # we don't know where to search for files

tests/test_rpc.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ def test_get_rpcconfig1():
5757
"main": {"rpcport": "8332"},
5858
"regtest": {"rpcport": "18443"},
5959
"test": {"rpcport": "18332"},
60+
"signet": {},
6061
}
6162

6263

@@ -88,6 +89,7 @@ def test_get_rpcconfig2(empty_data_folder):
8889
"zmqpubhashblock": "tcp://127.0.0.1:29000",
8990
},
9091
"test": {},
92+
"signet": {},
9193
}
9294

9395

0 commit comments

Comments
 (0)