From 7c7b00a2d13e6cce2913ec42e8ff2b174d3d007f Mon Sep 17 00:00:00 2001 From: Amperstrand <141745238+Amperstrand@users.noreply.github.com> Date: Tue, 8 Aug 2023 19:14:35 +0200 Subject: [PATCH] Add support for the default signet --- sauron/sauron.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sauron/sauron.py b/sauron/sauron.py index e755457ae..79747627f 100755 --- a/sauron/sauron.py +++ b/sauron/sauron.py @@ -69,7 +69,9 @@ def getchaininfo(plugin, **kwargs): "000000000933ea01ad0ee984209779baaec3ced90fa3f408719526f8d77f4943": "test", "0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206": - "regtest" + "regtest", + "00000008819873e925422c1ff0f99f7cc9bbb232af63a077a480a3633bee1ef6": + "signet" } genesis_req = fetch(blockhash_url) @@ -191,7 +193,7 @@ def estimatefees(plugin, **kwargs): feerate_req = fetch(feerate_url) assert feerate_req.status_code == 200 feerates = feerate_req.json() - if plugin.sauron_network == "test": + if plugin.sauron_network == "test" or plugin.sauron_network == "signet": # FIXME: remove the hack if the test API is "fixed" feerate = feerates.get("144", 1) slow = normal = urgent = very_urgent = int(feerate * 10**3)