File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -1499,21 +1499,23 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
1499
1499
println ! ( "Transaction confirmed: {signature}" ) ;
1500
1500
1501
1501
if let Some ( ( deposit_pool, deposit_amount) ) = operation_info. deposit_pool_and_amount {
1502
- dp:: principal_balance_change (
1502
+ metrics :: push ( dp:: principal_balance_change (
1503
1503
& deposit_pool,
1504
1504
& address,
1505
1505
maybe_token,
1506
1506
token. ui_amount ( deposit_amount) ,
1507
- ) ;
1507
+ ) )
1508
+ . await ;
1508
1509
}
1509
1510
if let Some ( ( withdraw_pool, withdraw_amount) ) = operation_info. withdraw_pool_and_amount
1510
1511
{
1511
- dp:: principal_balance_change (
1512
+ metrics :: push ( dp:: principal_balance_change (
1512
1513
& withdraw_pool,
1513
1514
& address,
1514
1515
maybe_token,
1515
1516
-token. ui_amount ( withdraw_amount) ,
1516
- ) ;
1517
+ ) )
1518
+ . await ;
1517
1519
}
1518
1520
notifier
1519
1521
. send ( & format ! ( "{} via via {signature}" , operation_info. op_msg) )
You can’t perform that action at this time.
0 commit comments