Signing message with private key and verifying signer in smart contract

I have a smart contract that provides a message to sign and then validates the signer of the message. Something like: mapping(address => uint) public userNonce; function getSigner(bytes32 message, bytes32 r, bytes32 s, uint8 v) public pure returns (address) { bytes32 prefixedHash = keccak256(abi.encodePacked(“\x19Ethereum Signed Message:\n32”, message)); address signer = ecrecover(prefixedHash,v,r,s); return signer; } function…

Details

kernel 4.15.0-74-generic does not boot in lilo

I am using lilo boot loader in Ubuntu 18.04. When I boot my own custom kernel (4.14.166), everything boots fine. But when I try to boot default Ubuntu kernel vmlinuz-4.15.0-74-generic, lilo gets “stuck”, ie see screenshot: below is my /etc/lilo.conf: boot=/dev/sda root=/dev/sda1 map=/boot/map lba32 prompt timeout=50 default=ubuntu image=/boot/vmlinuz-4.14.166 label=linux read-only append=”rootfstype=ext4 net.ifnames=0 loglevel=4 3″ image=/boot/vmlinuz-4.15.0-74-generic…

Details