Improve config extpubkey.
MODIFY
WalletWasabi.Backend/Config.cs
WalletWasabi.Backend/Config.cs
@@ -53,8 +53,8 @@ namespace WalletWasabi.Backend
public EndPoint RegTestBitcoinCoreRpcEndPoint { get; internal set; } = new IPEndPoint(IPAddress.Loopback, Constants.DefaultRegTestBitcoinCoreRpcPort);
[JsonProperty(PropertyName = "CoordinatorExtPubKey")]
- [JsonConverter(typeof(ExtPubKeyJsonConverter), Constants.FallBackCoordinatorExtPubKey)]
- public ExtPubKey CoordinatorExtPubKey { get; internal set; } = NBitcoinHelpers.BetterParseExtPubKey(Constants.FallBackCoordinatorExtPubKey);
+ [JsonConverter(typeof(ExtPubKeyJsonConverter))]
+ public ExtPubKey CoordinatorExtPubKey { get; private set; } = Constants.FallBackCoordinatorExtPubKey;
public EndPoint GetBitcoinP2pEndPoint()
{

MODIFY
WalletWasabi/Helpers/Constants.cs
WalletWasabi/Helpers/Constants.cs
@@ -111,6 +111,7 @@ namespace WalletWasabi.Helpers
public const long MaxSatoshisSupply = 2_100_000_000_000_000L;
- public const string FallBackCoordinatorExtPubKey = "xpub6D2PqhWBAbF3xgfaAUW73KnaCXUroArcgMTzNkNzfVX7ykkSzQGbqaXZeaNyxKbZojAAqDwsne6B7NcVhiTrXbGYrQNq1yF76NkgdonGrEa";
+ public const string FallBackCoordinatorExtPubKeyString = "xpub6D2PqhWBAbF3xgfaAUW73KnaCXUroArcgMTzNkNzfVX7ykkSzQGbqaXZeaNyxKbZojAAqDwsne6B7NcVhiTrXbGYrQNq1yF76NkgdonGrEa";
+ public static readonly ExtPubKey FallBackCoordinatorExtPubKey = NBitcoinHelpers.BetterParseExtPubKey(FallBackCoordinatorExtPubKeyString);
}
}

Improve config extpubkey.