|
@@ -280,6 +280,7 @@ class Account extends Model {
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
public static function verifyEth($account, $data, $signed) {
|
|
|
+ $data = "Welcome to MeeChat! Decentralization Social Platform ({$data})";
|
|
|
$hash = Utils::hashPersonalMessage(Utils::strToHex($data));
|
|
|
|
|
|
$messageGmp = gmp_init("0x" . $hash);
|