update modifier

This commit is contained in:
杨新刚
2021-02-03 00:13:45 +08:00
parent 4e29555f68
commit d90c6ab2b2

View File

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