Explorar el Código

修改签名数据

solupro hace 5 años
padre
commit
cd24514b31
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      protected/models/Account.php

+ 1 - 0
protected/models/Account.php

@@ -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);