forked from neo-project/neo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Policy inputs checks (neo-project#1938)
* Policy contract's SetMaxTransactionsPerBlock() doesn't check for Block.MaxTransactionsPerBlock * add more * Clean change * Fix ut * throw exceptions * ArgumentOutOfRangeException * Update src/neo/SmartContract/Native/PolicyContract.cs Co-authored-by: Erik Zhang <erik@neo.org> * Fix UT * Update NativeContractExtensions.cs Co-authored-by: erikzhang <erik@neo.org>
- Loading branch information
1 parent
05c30fb
commit dd2a968
Showing
3 changed files
with
19 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters