You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error!("Exceeded max retries when notifying connector about account {:?} for amount {:?} and transaction hash {:?}. Please check your API.", account_id_clone,amount, tx_hash)
542
+
error!("Exceeded max retries when notifying connector about account {:?} for amount {:?} and transaction hash {:?}. Please check your API.", account_id_clone,amount_clone, tx_hash)
523
543
})
524
544
}
525
545
526
546
fnprocess_connector_response(
527
547
&self,
528
548
account_id:String,
529
549
response:HttpResponse,
530
-
amount:U256,
550
+
engine_amount:BigUint,
531
551
) -> implFuture<Item = (),Error = ()>{
532
552
let engine_scale = self.asset_scale;
533
553
let store = self.store.clone();
@@ -551,18 +571,12 @@ where
551
571
})
552
572
})
553
573
.and_then(move |quantity:Quantity| {
554
-
// Convert both to BigUInts so we can do arithmetic
555
-
join_all(vec![
556
-
result(BigUint::from_str(&quantity.amount)),
557
-
result(BigUint::from_str(&amount.to_string())),
558
-
])
574
+
result(BigUint::from_str(&quantity.amount))
559
575
.map_err(|err| {
560
-
let error_msg = format!("Error converting to BigUints {:?}", err);
576
+
let error_msg = format!("Error converting to BigUint {:?}", err);
0 commit comments