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
2 changed files with 2 additions and 2 deletions

View File

@@ -126,7 +126,7 @@ namespace BTCPayServer
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)

View File

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