check max msg size in DecodeMessage

This commit is contained in:
Ethan Buchman
2018-04-09 15:18:47 +03:00
parent bb1b249e8a
commit 1a1e4e767b
6 changed files with 33 additions and 13 deletions
-1
View File
@@ -92,5 +92,4 @@ func (pv *MockPV) String() string {
func (pv *MockPV) DisableChecks() {
// Currently this does nothing,
// as MockPV has no safety checks at all.
return
}