Merge pull request #7473 from emilioziniades/realign-witness-types

input+lnrpc: realign witness types
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2023-04-13 16:09:01 -07:00
commit 66a85bf9db
6 files changed
+405 -181

No files matched your search

+2
View File
@@ -47,6 +47,8 @@ type StandardWitnessType uint16
// WitnessType interface.
var _ WitnessType = (StandardWitnessType)(0)
// NOTE: When adding a new `StandardWitnessType`, also update the `WitnessType`
// protobuf enum and the `allWitnessTypes` map in the `walletrpc` package.
const (
// CommitmentTimeLock is a witness that allows us to spend our output
// on our local commitment transaction after a relative lock-time