route work
This commit is contained in:
@@ -1021,7 +1021,7 @@ impl NetworkManager {
|
||||
|
||||
// We expect the inbound noderef to be the same as the target noderef
|
||||
// if they aren't the same, we should error on this and figure out what then hell is up
|
||||
if target_nr != inbound_nr {
|
||||
if target_nr.node_id() != inbound_nr.node_id() {
|
||||
bail!("unexpected noderef mismatch on reverse connect");
|
||||
}
|
||||
|
||||
@@ -1122,7 +1122,7 @@ impl NetworkManager {
|
||||
|
||||
// We expect the inbound noderef to be the same as the target noderef
|
||||
// if they aren't the same, we should error on this and figure out what then hell is up
|
||||
if target_nr != inbound_nr {
|
||||
if target_nr.node_id() != inbound_nr.node_id() {
|
||||
bail!(
|
||||
"unexpected noderef mismatch on hole punch {}, expected {}",
|
||||
inbound_nr,
|
||||
|
Reference in New Issue
Block a user