Fix bug for Network not having a NBitcoin Network

This commit is contained in:
nicolas.dorier 2019-11-17 13:04:42 +09:00
parent 4c349803b6
commit 27af96662f
No known key found for this signature in database
GPG key ID: 6618763EF09186FE
2 changed files with 2 additions and 2 deletions

View file

@ -126,7 +126,7 @@ namespace BTCPayServer
public virtual T ToObject<T>(string json) public virtual T ToObject<T>(string json)
{ {
return JsonConvert.DeserializeObject<T>(json); return NBitcoin.JsonConverters.Serializer.ToObject<T>(json, null);
} }
public virtual string ToString<T>(T obj) public virtual string ToString<T>(T obj)

View file

@ -1,5 +1,5 @@
<Project> <Project>
<PropertyGroup> <PropertyGroup>
<Version>1.0.3.138</Version> <Version>1.0.3.139</Version>
</PropertyGroup> </PropertyGroup>
</Project> </Project>