Commit 461262a 1 parent 92ddb26 commit 461262a Copy full SHA for 461262a
File tree 1 file changed +0
-10
lines changed
protocol-units/bridge/service/src/chains/movement
1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,6 @@ impl MovementMonitoring {
157
157
let config = config. clone ( ) ;
158
158
async move {
159
159
let mvt_client = MovementClient :: new ( & config) . await . unwrap ( ) ;
160
- println ! ( "Movement client address: {:?}" , mvt_client. native_address) ;
161
160
loop {
162
161
let mut init_event_list = match pool_initiator_contract (
163
162
mvt_client. native_address ,
@@ -474,7 +473,6 @@ pub struct BridgeInitEventData {
474
473
pub time_lock : u64 ,
475
474
#[ serde( deserialize_with = "deserialize_u64_from_string" ) ]
476
475
pub amount : u64 ,
477
- #[ serde( deserialize_with = "deserialize_u8_from_string" ) ]
478
476
pub state : u8 ,
479
477
}
480
478
@@ -488,14 +486,6 @@ where
488
486
Vec :: from_hex ( hex_str) . map_err ( serde:: de:: Error :: custom)
489
487
}
490
488
491
- fn deserialize_u8_from_string < ' de , D > ( deserializer : D ) -> Result < u8 , D :: Error >
492
- where
493
- D : Deserializer < ' de > ,
494
- {
495
- let s: String = Deserialize :: deserialize ( deserializer) ?;
496
- s. parse :: < u8 > ( ) . map_err ( serde:: de:: Error :: custom)
497
- }
498
-
499
489
fn deserialize_u64_from_string < ' de , D > ( deserializer : D ) -> Result < u64 , D :: Error >
500
490
where
501
491
D : Deserializer < ' de > ,
You can’t perform that action at this time.
0 commit comments