mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
Let request continue without unsubscribe
This commit is contained in:
@@ -235,7 +235,8 @@ impl BtcClient {
|
||||
Some(_) => {
|
||||
// Script has a notification update
|
||||
debug!(target: "BTC BRIDGE", "ScripPubKey notify update");
|
||||
let _ = client.script_unsubscribe(&script)?;
|
||||
//TODO: unsubscribe is never successful
|
||||
//let _ = client.script_unsubscribe(&script)?;
|
||||
break;
|
||||
}
|
||||
None => {
|
||||
@@ -246,8 +247,6 @@ impl BtcClient {
|
||||
};
|
||||
} // Endloop
|
||||
|
||||
//let _ = client.script_unsubscribe(&script)?;
|
||||
|
||||
cur_balance = client.script_get_balance(&script)?;
|
||||
|
||||
let send_notification = self.notify_channel.0.clone();
|
||||
|
||||
Reference in New Issue
Block a user