Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
recover
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhangTao1596 committed Nov 18, 2021
1 parent 2b68502 commit 1e29928
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neo-cli/CLI/MainService.Contracts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ private void OnUpdateCommand(UInt160 scriptHash, string filePath, string manifes
Witnesses = Array.Empty<Witness>()
};

byte[] script = LoadUpdateScript(scriptHash, filePath, manifestPath, data, out var nef, out var manifest);
try
{
byte[] script = LoadUpdateScript(scriptHash, filePath, manifestPath, data, out var nef, out var manifest);
tx = CurrentWallet.MakeTransaction(NeoSystem.StoreView, script, sender, signers);
}
catch (InvalidOperationException e)
Expand Down

0 comments on commit 1e29928

Please sign in to comment.