mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-01-19 05:45:21 +01:00
utxonursery: adds compile-time iface check for baby and kid outputs
This commit is contained in:
parent
0dcb620194
commit
d8688b7d67
@ -1231,3 +1231,8 @@ func readTxOut(r io.Reader, txo *wire.TxOut) error {
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
// Compile-time constraint to ensure kidOutput and babyOutpt implement the
|
||||
// CsvSpendableOutput interface.
|
||||
var _ CsvSpendableOutput = (*kidOutput)(nil)
|
||||
var _ CsvSpendableOutput = (*babyOutput)(nil)
|
||||
|
Loading…
Reference in New Issue
Block a user