Pārlūkot izejas kodu

btc: minor changes

ghassmo 4 gadi atpakaļ
vecāks
revīzija
35ce219d53
1 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  1. 4 1
      src/service/btc.rs

+ 4 - 1
src/service/btc.rs

@@ -170,6 +170,9 @@ pub struct BtcClient {
 impl BtcClient {
     pub async fn new(main_keypair: Keypair, network: &str) -> Result<Arc<Self>> {
 
+        //TODO
+        // info!(target: "SOL BRIDGE", "Main BTC wallet pubkey: {:?}", &main_keypair.pubkey());
+
         let notify_channel = async_channel::unbounded();
 
         let (network, url) = match network {
@@ -262,7 +265,7 @@ impl BtcClient {
             .send(TokenNotification {
                 network: NetworkName::Bitcoin,
                 // is btc an acceptable token name?
-                token_id: generate_id("btc", &NetworkName::Bitcoin)?,
+                token_id: generate_id("1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa", &NetworkName::Bitcoin)?,
                 drk_pub_key,
                 received_balance: amnt as u64,
                 decimals: 8,