Skip to content

Commit e21c6e8

Browse files
committed
fixup! Pass HRNResolver or DomainResolver into OnionMessenger
1 parent 169b2de commit e21c6e8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/builder.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1781,9 +1781,7 @@ fn build_with_store_internal(
17811781
logger,
17821782
"HRN resolution service enabled, but node is not announceable."
17831783
);
1784-
return Err(BuildError::DNSResolverSetupFailed(
1785-
"Node must announce channels to act as a resolver service.",
1786-
));
1784+
return Err(BuildError::DNSResolverSetupFailed);
17871785
}
17881786

17891787
Arc::new(OMDomainResolver::<IgnoringMessageHandler>::with_runtime(

0 commit comments

Comments
 (0)