yet more fixes
This commit is contained in:
parent
385cac5608
commit
cfb03164e0
1 changed files with 2 additions and 2 deletions
|
@ -356,7 +356,7 @@ class BlockShell extends Shell {
|
|||
// Create the output
|
||||
$conn->execute('INSERT INTO Outputs (TransactionId, Vout, Value, Type, ScriptPubKeyAsm, ScriptPubKeyHex, RequiredSignatures, Hash160, Addresses, Created, Modified) '.
|
||||
'VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, UTC_TIMESTAMP(), UTC_TIMESTAMP())',
|
||||
[$out['TransactionId'],
|
||||
[$txid,
|
||||
$out['Vout'],
|
||||
$out['Value'],
|
||||
$out['Type'],
|
||||
|
@ -435,7 +435,7 @@ class BlockShell extends Shell {
|
|||
$in_entity = $this->Inputs->newEntity($in);
|
||||
$conn->execute('INSERT INTO Inputs (TransactionId, TransactionHash, AddressId, PrevoutHash, PrevoutN, Sequence, Value, ScriptSigAsm, ScriptSigHex, Created, Modified) ' .
|
||||
'VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, UTC_TIMESTAMP(), UTC_TIMESTAMP())',
|
||||
[$in['TransactionId'],
|
||||
[$txid,
|
||||
$in['TransactionHash'],
|
||||
isset($in['AddressId']) ? $in['AddressId'] : null,
|
||||
$in['PrevoutHash'],
|
||||
|
|
Loading…
Reference in a new issue