Closed iofq closed 7 months ago
If rest.enable is true and rest.allow-origin is not set, allow-origin defaults to null which can't be coerced to a string when building CLI flags for Nimbus. This MR fixes this behavior by adding a null check before building the flag.
rest.enable
rest.allow-origin
allow-origin
Found and added commit for second bug, where data-dir flag was duplicated if it was non-default.
data-dir
If
rest.enable
is true andrest.allow-origin
is not set,allow-origin
defaults to null which can't be coerced to a string when building CLI flags for Nimbus. This MR fixes this behavior by adding a null check before building the flag.