diff --git a/cores/esp8266/Updater.cpp b/cores/esp8266/Updater.cpp index e5224e3814..93149033c7 100644 --- a/cores/esp8266/Updater.cpp +++ b/cores/esp8266/Updater.cpp @@ -282,6 +282,8 @@ bool UpdaterClass::end(bool evenIfRemaining){ return false; } free(sig); + _size = binSize; // Adjust size to remove signature, not part of bin payload + #ifdef DEBUG_UPDATER DEBUG_UPDATER.printf_P(PSTR("[Updater] Signature matches\n")); #endif