Skip to content

[bug] correctly handle authenticate's autoconf parameter

simonft requested to merge simonft/bitmask-dev:bug/handle-autoconf into master

This fixes two bugs with handling the autoconf parameter:

  • It looks for "True" instead of "true" in the dispatching code to account for json.dumps() converting true into a boolean and str() returning the python-style capitalized version "True".
  • It moves the initial definitions of offirst_bootstrap, ongoing_bootstrap, and stuck_bootstrap into the class instantiation method so they don't get shared between instances of the class. Previously, this caused one instance being bootstrapped to causes other instances to think they were also actively being bootstrapped.

Resolves #8843 (closed)

Merge request reports