add canTransfer
This commit is contained in:
@@ -333,7 +333,7 @@ contract vDODOToken is InitializableOwnable, ReentrancyGuard {
|
|||||||
address from,
|
address from,
|
||||||
address to,
|
address to,
|
||||||
uint256 _amount
|
uint256 _amount
|
||||||
) internal balanceEnough(msg.sender, _amount) {
|
) internal balanceEnough(msg.sender, _amount) canTransfer {
|
||||||
require(from != address(0), "transfer from the zero address");
|
require(from != address(0), "transfer from the zero address");
|
||||||
require(to != address(0), "transfer to the zero address");
|
require(to != address(0), "transfer to the zero address");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user