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:
1 parent
b93ce1cea5
commit
cb6176fd8a
3 files changed
+6
-6
No files matched your search
+1
-1
@@ -344,5 +344,5 @@ type ProtocolMsg struct {
|
||||
}
|
||||
|
||||
type ProtocolSender interface {
|
||||
SendProtocolMsg(m ProtocolMsg)
|
||||
SendProtocolMsg(m ProtocolMsg) error
|
||||
}
|
||||
Reference in new issue
Block a user