lnwire: add missing cases in [read/write]Element
Add cases to encode/decode wire.OutPoint, and a final line to properly write out signatures fully.
This commit is contained in:
2 files changed
+39
-3
No files matched your search
+1
-3
@@ -173,9 +173,7 @@ func discardInput(r io.Reader, n uint32) {
|
||||
|
||||
// WriteMessage writes a lightning Message to w including the necessary header
|
||||
// information and returns the number of bytes written.
|
||||
func WriteMessage(w io.Writer, msg Message, pver uint32,
|
||||
btcnet wire.BitcoinNet) (int, error) {
|
||||
|
||||
func WriteMessage(w io.Writer, msg Message, pver uint32, btcnet wire.BitcoinNet) (int, error) {
|
||||
totalBytes := 0
|
||||
|
||||
cmd := msg.Command()
|
||||
|
||||
Reference in new issue
Block a user