Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
startailcoon committed Jun 8, 2024
1 parent 7c4fd02 commit 34ee648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Models/Chain/Transaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function getInputAddresses(array $inputs):array {
throw new \Exception("Input transaction '{$vin->txid}' not found!");
}

$addresses[$inputs[$array_key]->vout[$vin->vout]->scriptPubKey->addresses[0]] = $inputs[$vin->txid]->vout[$vin->vout]->scriptPubKey->addresses[0];
$addresses[$inputs[$array_key]->vout[$vin->vout]->scriptPubKey->addresses[0]] = $inputs[$array_key]->vout[$vin->vout]->scriptPubKey->addresses[0];
}

return $addresses;
Expand Down

0 comments on commit 34ee648

Please sign in to comment.