fix p2pk hash index
This commit is contained in:
parent
e25cd7807e
commit
3ad5db032b
1 changed files with 2 additions and 2 deletions
|
@ -1304,7 +1304,7 @@ print_r($response); print_r($json);
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
// ignore possible disconnect errors
|
// ignore possible disconnect errors
|
||||||
}
|
}
|
||||||
|
|
||||||
$conn->connect();
|
$conn->connect();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1855,7 +1855,7 @@ print_r($response); print_r($json);
|
||||||
// Other standard: pay to pubkey hash
|
// Other standard: pay to pubkey hash
|
||||||
$define['p2pk'] = array('type' => 'pubkeyhash',
|
$define['p2pk'] = array('type' => 'pubkeyhash',
|
||||||
'reqSigs' => 1,
|
'reqSigs' => 1,
|
||||||
'data_index_for_hash' => 1);
|
'data_index_for_hash' => 0);
|
||||||
$rule['p2pk'] = [
|
$rule['p2pk'] = [
|
||||||
'0' => '/^[0-9a-f]+$/i',
|
'0' => '/^[0-9a-f]+$/i',
|
||||||
'1' => '/^OP_CHECKSIG/'
|
'1' => '/^OP_CHECKSIG/'
|
||||||
|
|
Loading…
Reference in a new issue