Changed getkey and secrettoaddress