Skip to content

Commit 7c7b00a

Browse files
Amperstrandcdecker
authored andcommitted
Add support for the default signet
1 parent 286c952 commit 7c7b00a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

sauron/sauron.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ def getchaininfo(plugin, **kwargs):
6969
"000000000933ea01ad0ee984209779baaec3ced90fa3f408719526f8d77f4943":
7070
"test",
7171
"0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206":
72-
"regtest"
72+
"regtest",
73+
"00000008819873e925422c1ff0f99f7cc9bbb232af63a077a480a3633bee1ef6":
74+
"signet"
7375
}
7476

7577
genesis_req = fetch(blockhash_url)
@@ -191,7 +193,7 @@ def estimatefees(plugin, **kwargs):
191193
feerate_req = fetch(feerate_url)
192194
assert feerate_req.status_code == 200
193195
feerates = feerate_req.json()
194-
if plugin.sauron_network == "test":
196+
if plugin.sauron_network == "test" or plugin.sauron_network == "signet":
195197
# FIXME: remove the hack if the test API is "fixed"
196198
feerate = feerates.get("144", 1)
197199
slow = normal = urgent = very_urgent = int(feerate * 10**3)

0 commit comments

Comments
 (0)