Răsfoiți Sursa

update todo.md

ghassmo 4 ani în urmă
părinte
comite
2eba4b6758
3 a modificat fișierele cu 4 adăugiri și 0 ștergeri
  1. 1 0
      src/service/cashier.rs
  2. 2 0
      src/service/sol.rs
  3. 1 0
      todo.md

+ 1 - 0
src/service/cashier.rs

@@ -125,6 +125,7 @@ impl CashierService {
                         match res.payload {
                             bridge::BridgeResponsePayload::SendResponse => {
                                 // then delete this coin addr from withdraw_keys records
+                                // TODO Send the received coins to the main address
                                 wallet.delete_withdraw_key_record(&addr, &serialize(&1) )
                                     .expect("Delete withdraw key record");
                             }

+ 2 - 0
src/service/sol.rs

@@ -135,6 +135,8 @@ impl SolClient {
                         // XXX casting f64 to u64
                         let received_balance = lamports_to_sol(received_balance) as u64;
 
+                        // TODO Send the received coins to the main address
+                    
                         self.notify_channel
                             .0
                             .send((

+ 1 - 0
todo.md

@@ -34,6 +34,7 @@
 - [x] darkfid: send cashout request to cashier with btc pub key
 - [x] cashierd: receive cashout request, reply with drk pub key
 - [x] darkfid: send dbtc to the cashier drk pub key
+- [ ] cashierd: send the received coins to the main address of cashierd
 - [ ] cashierd: burn dbtc, send back btc (see tx.rs)
 
 ## drk -> drk