Make ERC1820 address constant (#1912)
(cherry picked from commit 6148abb1b1)
This commit is contained in:
committed by
Francisco Giordano
parent
a3603b9098
commit
c247a21cb5
@ -28,7 +28,7 @@ contract ERC777 is Context, IERC777, IERC20 {
|
||||
using SafeMath for uint256;
|
||||
using Address for address;
|
||||
|
||||
IERC1820Registry private _erc1820 = IERC1820Registry(0x1820a4B7618BdE71Dce8cdc73aAB6C95905faD24);
|
||||
IERC1820Registry constant private _erc1820 = IERC1820Registry(0x1820a4B7618BdE71Dce8cdc73aAB6C95905faD24);
|
||||
|
||||
mapping(address => uint256) private _balances;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user