mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-26 16:51:28 +02:00
Merge pull request #3990 from yaslama/signrpc-input-index-fix
Copy InputIndex into the underlying SignDescriptor struct
This commit is contained in:
commit
5556735fb6
@ -373,8 +373,9 @@ func (s *Server) ComputeInputScript(ctx context.Context,
|
|||||||
Value: signDesc.Output.Value,
|
Value: signDesc.Output.Value,
|
||||||
PkScript: signDesc.Output.PkScript,
|
PkScript: signDesc.Output.PkScript,
|
||||||
},
|
},
|
||||||
HashType: txscript.SigHashType(signDesc.Sighash),
|
HashType: txscript.SigHashType(signDesc.Sighash),
|
||||||
SigHashes: sigHashCache,
|
SigHashes: sigHashCache,
|
||||||
|
InputIndex: int(signDesc.InputIndex),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user