@@ -176,6 +176,10 @@ discard block |
||
176 | 176 | return $this; |
177 | 177 | } |
178 | 178 | |
179 | + /** |
|
180 | + * @param integer $sigVersion |
|
181 | + * @param integer $sigHashType |
|
182 | + */ |
|
179 | 183 | private function signStep($txoType, SignatureData $sigData, PrivateKeyInterface $privateKey, ScriptInterface $scriptPubKey, $sigVersion, $sigHashType) |
180 | 184 | { |
181 | 185 | if (count($sigData->signatures) < $this->requiredSigs) { |
@@ -226,7 +230,7 @@ discard block |
||
226 | 230 | * @param PrivateKeyInterface $privateKey |
227 | 231 | * @param ScriptInterface $scriptPubKey |
228 | 232 | * @param int $sigHashType |
229 | - * @return $this|bool |
|
233 | + * @return boolean |
|
230 | 234 | */ |
231 | 235 | public function signInput(SignatureData $sigData, PrivateKeyInterface $privateKey, ScriptInterface $scriptPubKey, $sigHashType) |
232 | 236 | { |
@@ -261,7 +261,7 @@ |
||
261 | 261 | } |
262 | 262 | |
263 | 263 | /** |
264 | - * @return string |
|
264 | + * @return \BitWasp\Buffertools\Buffer |
|
265 | 265 | */ |
266 | 266 | public function getWitnessBuffer() |
267 | 267 | { |