修改修改batch数量限制的方法名
This commit is contained in:
parent
13a5741c3e
commit
6669ded215
@ -137,8 +137,10 @@ contract BEBadge is AccessControl, ERC721Enumerable {
|
||||
_metaAddress = metaAddress;
|
||||
}
|
||||
|
||||
function updateDuation(uint256 valNew) external onlyRole(DEFAULT_ADMIN_ROLE) {
|
||||
require(valNew > 1, "batch size too short");
|
||||
function updateBatchLimit(
|
||||
uint256 valNew
|
||||
) external onlyRole(DEFAULT_ADMIN_ROLE) {
|
||||
require(valNew > 0, "batch size too short");
|
||||
maxBatchSize = valNew;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user