Skip to content

Commit

Permalink
Bugfix: Add missing signet key (#2368)
Browse files Browse the repository at this point in the history
* add missing signet key
* fix rpc tests
  • Loading branch information
moneymanolis authored Aug 23, 2023
1 parent 72fed92 commit 622e111
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/cryptoadvance/specter/rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions tests/test_rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def test_get_rpcconfig1():
"main": {"rpcport": "8332"},
"regtest": {"rpcport": "18443"},
"test": {"rpcport": "18332"},
"signet": {},
}


Expand Down Expand Up @@ -88,6 +89,7 @@ def test_get_rpcconfig2(empty_data_folder):
"zmqpubhashblock": "tcp://127.0.0.1:29000",
},
"test": {},
"signet": {},
}


Expand Down

0 comments on commit 622e111

Please sign in to comment.