correction nonce_binary_str

This commit is contained in:
2019-04-07 15:01:28 +02:00
parent 514daaeaf1
commit 1689bd6cd3

View File

@@ -265,7 +265,7 @@ class blockchain
$the_block->nonce_binary_str = decbin($the_block->nonce);
if (strlen($the_block->nonce_binary_str) > 32) $the_block->nonce_binray_str = substr($nonce_binray_str,-32,32);
$the_block->topisto_nonce_blockchain_info = $the_block->nonce;
$the_block->nonce = bindec($the_block->nonce_binray_str);
$the_block->nonce = bindec($the_block->nonce_binary_str);
if (!isset($the_block->topisto_inputs))
{