Improve encapsulation on lifecycle, ownership and payments (#1269)

* Improve encapsulation on Pausable

* add the underscore

* Improve encapsulation on ownership

* fix rebase

* fix ownership

* Improve encapsulation on payments

* Add missing tests

* add missing test

* Do not prefix getters

* Fix tests.

* revert pending owner reset

* add missing underscore

* Add missing underscore
This commit is contained in:
Leo Arias
2018-09-05 13:11:29 -06:00
committed by Francisco Giordano
parent d6c7700f4c
commit 45c0c072d1
11 changed files with 127 additions and 48 deletions

View File

@ -93,7 +93,7 @@ contract TokenVesting is Ownable {
revoked[_token] = true;
_token.safeTransfer(owner, refund);
_token.safeTransfer(owner(), refund);
emit Revoked();
}