mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-12-03 12:24:27 +01:00
tor: inverse check skip send to send tor
This commit is contained in:
+1
-1
@@ -373,7 +373,7 @@ where
|
||||
Some(a) => {
|
||||
let tc = self.tor_config.lock();
|
||||
let can_send = if let Some(tc) = tc.as_ref() {
|
||||
tc.skip_send(None)
|
||||
tc.send_tor(None)
|
||||
} else {
|
||||
false
|
||||
};
|
||||
|
||||
+2
-2
@@ -677,7 +677,7 @@ where
|
||||
let tor_config_lock = self.tor_config.lock();
|
||||
let tc = tor_config_lock.clone();
|
||||
let can_send = if let Some(tc) = tc.as_ref() {
|
||||
tc.skip_send(sa.skip_tor)
|
||||
tc.send_tor(sa.skip_tor)
|
||||
} else {
|
||||
false
|
||||
};
|
||||
@@ -837,7 +837,7 @@ where
|
||||
let tor_config_lock = self.tor_config.lock();
|
||||
let tc = tor_config_lock.clone();
|
||||
let can_send = if let Some(tc) = tc.as_ref() {
|
||||
tc.skip_send(sa.skip_tor)
|
||||
tc.send_tor(sa.skip_tor)
|
||||
} else {
|
||||
false
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user