reth
reth copied to clipboard
fix: open db in non-exclusive mode by default
We are configuring the exclusive mode of libmdbx with exclusive: args.exclusive.unwrap_or_default(). args.exlusive is Option<bool>, so, if it is not set by an argument from the command line, unwrap_or_default() will set it to false (bool::default()), leaving the db in non-exclusive mode.