File tree Expand file tree Collapse file tree 2 files changed +0
-673
lines changed
Expand file tree Collapse file tree 2 files changed +0
-673
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ impl ChainStateStorage for PersistentChainStateStorage {
4343 async fn store_chain_state ( & mut self , state : & ChainState ) -> StorageResult < ( ) > {
4444 let state_data = serde_json:: json!( {
4545 "last_chainlock_height" : state. last_chainlock_height,
46- "last_chainlock_hash" : state. last_chainlock_hash,
4746 "sync_base_height" : state. sync_base_height,
4847 } ) ;
4948
@@ -74,10 +73,6 @@ impl ChainStateStorage for PersistentChainStateStorage {
7473 . get ( "last_chainlock_height" )
7574 . and_then ( |v| v. as_u64 ( ) )
7675 . map ( |h| h as u32 ) ,
77- last_chainlock_hash : value
78- . get ( "last_chainlock_hash" )
79- . and_then ( |v| v. as_str ( ) )
80- . and_then ( |s| s. parse ( ) . ok ( ) ) ,
8176 sync_base_height : value
8277 . get ( "sync_base_height" )
8378 . and_then ( |v| v. as_u64 ( ) )
You can’t perform that action at this time.
0 commit comments