|
|
@@ -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();
|