mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-04 21:36:45 +00:00
support broadcasting via mempool.space when using signet
This commit is contained in:
parent
1a46f8a643
commit
c7ab8e4601
1 changed files with 2 additions and 0 deletions
|
@ -56,6 +56,8 @@ public enum BroadcastSource {
|
|||
return new URL(getBaseUrl(proxy) + "/api/tx");
|
||||
} else if(Network.get() == Network.TESTNET) {
|
||||
return new URL(getBaseUrl(proxy) + "/testnet/api/tx");
|
||||
} else if(Network.get() == Network.SIGNET) {
|
||||
return new URL(getBaseUrl(proxy) + "/signet/api/tx");
|
||||
} else {
|
||||
throw new IllegalStateException("Cannot broadcast transaction to " + getName() + " on network " + Network.get());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue