baking-bad / netezos

Netezos is a cross-platform Tezos SDK for .NET developers, simplifying the access and interaction with the Tezos blockchain
https://netezos.dev
MIT License
40 stars 21 forks source link

Unhandled exception. System.Text.Json.JsonException: The JSON value could not be converted to System.String. Path: $ | LineNumber: 0 | BytePositionInLine: 1. ---> System.InvalidOperationException: Cannot get the value of a token type 'StartObject' as a string. #46

Closed KamranShahid closed 2 years ago

KamranShahid commented 2 years ago

https://dotnetfiddle.net/8po214

I am getting this on my local system as well. any idea what's wrong?

Groxan commented 2 years ago

That snippet was created for the edo2net testnet, which is no longer active. I've updated it to the hangzhou2net, so now it works well.

Thank you for spotting!