add canTransfer

This commit is contained in:
杨新刚
2021-02-02 15:01:28 +08:00
parent c88fca7dce
commit 70d00a5c0a

View File

@@ -333,7 +333,7 @@ contract vDODOToken is InitializableOwnable, ReentrancyGuard {
address from,
address to,
uint256 _amount
) internal balanceEnough(msg.sender, _amount) {
) internal balanceEnough(msg.sender, _amount) canTransfer {
require(from != address(0), "transfer from the zero address");
require(to != address(0), "transfer to the zero address");