Fix to prevent sending msgs where signing failed (#503)

This commit is contained in:
Olivier
2016-07-08 09:36:56 +02:00
committed by GitHub
parent d9316d1b6a
commit 1eabe506cf
+1
View File
@@ -661,6 +661,7 @@ bool transportSendWrite(uint8_t to, MyMessage &message) {
if (!signerSignMsg(message)) {
debug(PSTR("!TSP:MSG:SIGN fail\n"));
setIndication(INDICATION_ERR_SIGN);
return false;
}
// msg length changes if signed