mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-03 17:36:59 +01:00
Fix bug for Network not having a NBitcoin Network
This commit is contained in:
parent
4c349803b6
commit
27af96662f
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<Project>
|
||||
<PropertyGroup>
|
||||
<Version>1.0.3.138</Version>
|
||||
<Version>1.0.3.139</Version>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
|
Loading…
Add table
Reference in a new issue