lnwire: add new TestSerializedSize method

This uses all the interfaces and implementations added in the prior test.
This commit is contained in:
Olaoluwa Osuntokun committed 2025-03-20 18:28:53 -07:00
1 parent b2f24789dc
commit 05a6b6838f
2 files changed
+70 -1

No files matched your search

+2 -1
View File
@@ -39,7 +39,8 @@ func NewPong(pongBytes []byte) *Pong {
// A compile time check to ensure Pong implements the lnwire.Message interface.
var _ Message = (*Pong)(nil)
// A compile time check to ensure Pong implements the lnwire.SizeableMessage interface.
// A compile time check to ensure Pong implements the lnwire.SizeableMessage
// interface.
var _ SizeableMessage = (*Pong)(nil)
// Decode deserializes a serialized Pong message stored in the passed io.Reader