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)
541
+
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)
521
542
})
522
543
}
523
544
524
545
fnprocess_connector_response(
525
546
&self,
526
547
account_id:String,
527
548
response:HttpResponse,
528
-
amount:U256,
549
+
engine_amount:BigUint,
529
550
) -> implFuture<Item = (),Error = ()>{
530
551
let engine_scale = self.asset_scale;
531
552
let store = self.store.clone();
@@ -549,18 +570,12 @@ where
549
570
})
550
571
})
551
572
.and_then(move |quantity:Quantity| {
552
-
// Convert both to BigUInts so we can do arithmetic
553
-
join_all(vec![
554
-
result(BigUint::from_str(&quantity.amount)),
555
-
result(BigUint::from_str(&amount.to_string())),
556
-
])
573
+
result(BigUint::from_str(&quantity.amount))
557
574
.map_err(|err| {
558
-
let error_msg = format!("Error converting to BigUints {:?}", err);
575
+
let error_msg = format!("Error converting to BigUint {:?}", err);
0 commit comments