File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed 
identity/state_transition/identity_update_transition Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ impl IdentityUpdateTransitionWasm {
162162
163163    #[ wasm_bindgen( js_name=getUserFeeIncrease) ]  
164164    pub  fn  get_user_fee_increase ( & self )  -> u16  { 
165-         self . 0 . user_fee_increase ( )   as   u16 
165+         self . 0 . user_fee_increase ( ) 
166166    } 
167167
168168    #[ wasm_bindgen( js_name=setUserFeeIncrease) ]  
@@ -176,7 +176,7 @@ impl IdentityUpdateTransitionWasm {
176176    } 
177177
178178    #[ wasm_bindgen( js_name=setIdentityContractNonce) ]  
179-     pub  fn  set_identity_contract_nonce ( & mut  self ,  identity_nonce :  u64 )  ->  ( )   { 
179+     pub  fn  set_identity_contract_nonce ( & mut  self ,  identity_nonce :  u64 )  { 
180180        self . 0 . set_nonce ( identity_nonce) 
181181    } 
182182
@@ -441,7 +441,7 @@ impl IdentityUpdateTransitionWasm {
441441
442442    #[ wasm_bindgen( js_name=setRevision) ]  
443443    pub  fn  set_revision ( & mut  self ,  revision :  u64 )  { 
444-         self . 0 . set_revision ( revision  as   u64 ) 
444+         self . 0 . set_revision ( revision) 
445445    } 
446446
447447    #[ wasm_bindgen]  
Original file line number Diff line number Diff line change 33pub  use  serde:: Serialize ; 
44use  wasm_bindgen:: prelude:: * ; 
55
6- use  crate :: utils:: ToSerdeJSONExt ; 
76use  dpp:: metadata:: Metadata ; 
87use  dpp:: util:: deserializer:: ProtocolVersion ; 
9- use  dpp:: util:: json_value:: JsonValueExt ; 
108
119#[ wasm_bindgen( js_name=Metadata ) ]  
1210#[ derive( Clone ,  Debug ) ]  
@@ -79,11 +77,11 @@ impl MetadataWasm {
7977
8078    #[ wasm_bindgen( js_name=getTimeMs) ]  
8179    pub  fn  time_ms ( & self )  -> u64  { 
82-         self . 0 . time_ms   as   u64 
80+         self . 0 . time_ms 
8381    } 
8482
8583    #[ wasm_bindgen( js_name=getProtocolVersion) ]  
8684    pub  fn  protocol_version ( & self )  -> u32  { 
87-         self . 0 . protocol_version   as   u32 
85+         self . 0 . protocol_version 
8886    } 
8987} 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments