mount secure order retrieval to the main controller

This commit is contained in:
creating2morrow 2023-12-02 05:09:46 -05:00
parent a0d60d2753
commit 0249d582c5
2 changed files with 3 additions and 1 deletions

View file

@ -371,6 +371,7 @@ impl eframe::App for MarketApp {
.vscroll(true) .vscroll(true)
.show(ctx, |ui| { .show(ctx, |ui| {
ui.heading("Multisig Management"); ui.heading("Multisig Management");
ui.label(format!("Order: {}", self.m_order.orid));
if self.is_loading { if self.is_loading {
ui.add(egui::Spinner::new()); ui.add(egui::Spinner::new());
ui.label("msig request in progress..."); ui.label("msig request in progress...");
@ -539,7 +540,7 @@ impl eframe::App for MarketApp {
utils::search_gui_db(mediator_prefix, self.m_order.orid.clone()); utils::search_gui_db(mediator_prefix, self.m_order.orid.clone());
let vendor = let vendor =
utils::search_gui_db(vendor_prefix, self.m_order.orid.clone()); utils::search_gui_db(vendor_prefix, self.m_order.orid.clone());
// get kex round one info from vendor and mediator // get kex round two info from vendor and mediator
// call make multisig and save to db // call make multisig and save to db
send_kex_final_req( send_kex_final_req(
self.our_make_info_tx.clone(), self.our_make_info_tx.clone(),

View file

@ -43,6 +43,7 @@ async fn rocket() -> _ {
controller::get_product, controller::get_product,
controller::get_products, controller::get_products,
controller::request_shipment, controller::request_shipment,
controller::retrieve_order,
], ],
) )
} }