Skip to content

Commit

Permalink
check wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhangTao1596 committed Apr 22, 2022
1 parent 93c435f commit c79dd6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions neo-cli/CLI/MainService.Manage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c79dd6a

Please sign in to comment.