This commit is contained in:
Víctor Déniz 2022-02-03 22:20:20 +00:00
commit a5a3f87a76
2 changed files with 2 additions and 1 deletions

View File

@ -107,6 +107,7 @@ class mnet_peer {
return false;
}
$this->bootstrapped = true;
return true;
}
/*

View File

@ -530,7 +530,7 @@ function mnet_keyswap($function, $params) {
if (!empty($CFG->mnet_register_allhosts)) {
$mnet_peer = new mnet_peer();
@list($wwwroot, $pubkey, $application) = each($params);
list($wwwroot, $pubkey, $application) = $params;
$keyok = $mnet_peer->bootstrap($wwwroot, $pubkey, $application);
if ($keyok) {
$mnet_peer->commit();