From c79dd6a30f87aa2f44471f9f727fc3cd555e9464 Mon Sep 17 00:00:00 2001 From: ZhangTao1596 Date: Fri, 22 Apr 2022 10:57:09 +0800 Subject: [PATCH] check wallet --- neo-cli/CLI/MainService.Manage.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/neo-cli/CLI/MainService.Manage.cs b/neo-cli/CLI/MainService.Manage.cs index fc4fbd2c4..ab00632aa 100644 --- a/neo-cli/CLI/MainService.Manage.cs +++ b/neo-cli/CLI/MainService.Manage.cs @@ -226,6 +226,7 @@ private void OnGasMint(string amount) private void Manage(UInt160 contract, string method, JArray parameters) { + if (NoWallet()) return; var height = (uint)NativeContract.Ledger.CurrentIndex(NeoSystem.StoreView); var committee = NativeContract.RoleManagement.GetDesignatedByRole(NeoSystem.StoreView, Role.Committee, height + 1); bool hasCommittee = false;