mirror of
https://github.com/MAGICGrants/cuprate-for-explorer.git
synced 2026-01-09 19:47:59 -05:00
cuprated: Removing panicking assert in address_book_config (#506)
Remove addressb_book_config assert. Be careful.
This commit is contained in:
@@ -274,11 +274,6 @@ impl AddressBookConfig {
|
||||
network: Network,
|
||||
our_own_address: Option<Z::Addr>,
|
||||
) -> cuprate_address_book::AddressBookConfig<Z> {
|
||||
assert!(
|
||||
!Z::BROADCAST_OWN_ADDR && our_own_address.is_some(),
|
||||
"This network DO NOT take an incoming address."
|
||||
);
|
||||
|
||||
cuprate_address_book::AddressBookConfig {
|
||||
max_white_list_length: self.max_white_list_length,
|
||||
max_gray_list_length: self.max_gray_list_length,
|
||||
|
||||
Reference in New Issue
Block a user