mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-08-23 17:37:25 +00:00
backend: prevent too long wallet versions
This commit is contained in:
parent
6fb041adbc
commit
7d85e363c4
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ function BackendCoinsUpdate()
|
||||||
$coin->last_network_found = time();
|
$coin->last_network_found = time();
|
||||||
}
|
}
|
||||||
|
|
||||||
$coin->version = $info['version'];
|
$coin->version = substr($info['version'], 0, 32);
|
||||||
$coin->block_height = $info['blocks'];
|
$coin->block_height = $info['blocks'];
|
||||||
|
|
||||||
if($coin->powend_height > 0 && $coin->block_height > $coin->powend_height) {
|
if($coin->powend_height > 0 && $coin->block_height > $coin->powend_height) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue