input: note to update witness type protobuf

This commit is contained in:
Emilio Ziniades 2023-03-02 23:57:52 +02:00 committed by Olaoluwa Osuntokun
parent aca89c38aa
commit 43660c2c31

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