We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5fd63d7 commit 7ce7a3bCopy full SHA for 7ce7a3b
src/Neo.CLI/CLI/MainService.cs
@@ -613,7 +613,7 @@ static string GetExceptionMessage(Exception exception)
613
614
public UInt160 ResolveNeoNameServiceAddress(string domain)
615
{
616
- if (Settings.Default.NNS.Contract == UInt160.Zero)
+ if (Settings.Default.NNS.Contract == null || Settings.Default.NNS.Contract == UInt160.Zero)
617
throw new Exception("Neo Name Service (NNS): is disabled on this network.");
618
619
using var sb = new ScriptBuilder();
0 commit comments