Skip to content

Commit

Permalink
Merge pull request #292 from TeknoPT/dev
Browse files Browse the repository at this point in the history
Mitigate progress.
  • Loading branch information
TeknoPT authored Jan 16, 2024
2 parents eed3b5d + 93217b7 commit 1c25058
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,13 +224,13 @@ public string SendRawTransaction([APIParameter("Serialized transaction bytes, in
[HttpGet("InvokeRawScript")]
public ScriptResult InvokeRawScript([APIParameter("Address or name of chain", "root")] string chainInput, [APIParameter("Serialized script bytes, in hexadecimal format", "0000000000")] string scriptData)
{
if (NexusAPI.ReadOnlyMode)
/*if (NexusAPI.ReadOnlyMode)
{
return new ScriptResult
{
error = "Chain is in Read only mode"
};
}
}*/

var chain = NexusAPI.FindChainByInput(chainInput);
try
Expand Down

0 comments on commit 1c25058

Please sign in to comment.