fix warning

This commit is contained in:
Ricardo Guilherme Schmidt 2018-06-30 01:31:37 -03:00
parent fa11e1782c
commit 5aa31324d8
No known key found for this signature in database
GPG Key ID: 3F95A3AD0B607030
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ contract MessageSigned {
internal
returns (bytes32 signHash)
{
signHash = keccak256("\x19Ethereum Signed Message:\n32", _hash);
signHash = keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", _hash));
}
/**