Make mandatory check for bad throwaway from sender

This commit is contained in:
Keith Winstein
2012-05-22 23:12:48 -04:00
parent e5f8ed7579
commit eca34ea0fd
+1 -2
View File
@@ -16,7 +16,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <assert.h>
#include <iostream> #include <iostream>
#include "networktransport.h" #include "networktransport.h"
@@ -157,7 +156,7 @@ void Transport<MyState, RemoteState>::process_throwaway_until( uint64_t throwawa
i = inext; i = inext;
} }
assert( received_states.size() > 0 ); fatal_assert( received_states.size() > 0 );
} }
template <class MyState, class RemoteState> template <class MyState, class RemoteState>