Merge pull request #3990 from yaslama/signrpc-input-index-fix

Copy InputIndex into the underlying SignDescriptor struct
This commit is contained in:
Johan T. Halseth
2020-02-11 08:47:03 +01:00
committed by GitHub

View File

@@ -375,6 +375,7 @@ func (s *Server) ComputeInputScript(ctx context.Context,
}, },
HashType: txscript.SigHashType(signDesc.Sighash), HashType: txscript.SigHashType(signDesc.Sighash),
SigHashes: sigHashCache, SigHashes: sigHashCache,
InputIndex: int(signDesc.InputIndex),
}) })
} }