tweak ProtocolSender API

make SendProtocolMsg return an error; this isn't used at any call
sites (yet) but is TRTTD.
This commit is contained in:
Matthias Radestock committed 2015-12-21 18:24:22 +00:00
1 parent b93ce1cea5
commit cb6176fd8a
3 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -344,5 +344,5 @@ type ProtocolMsg struct {
}
type ProtocolSender interface {
SendProtocolMsg(m ProtocolMsg)
SendProtocolMsg(m ProtocolMsg) error
}