// Finalise finalises the state by removing the self destructed objects
// and clears the journal as well as the refunds.
Finalise finalises the state by removing the self destructed objects
and clears the journal as well as the refunds.
// Finalise finalises the state by removing the self destructed objects // and clears the journal as well as the refunds .
func (shard *StateDBManage) Finalise(cointyp string, deleteEmptyObjects bool) {
	for _, cms := range shard.shardings {
		for _, cm := range cms.Rmanage {
			cm.State.Finalise(deleteEmptyObjects)
		}
	}
}
func ( shard * StateDBManage ) Finalise ( cointyp string , deleteEmptyObjects bool ) { for _ , cms := range shard . shardings { for _ , cm := range cms . Rmanage { cm . State . Finalise ( deleteEmptyObjects ) } } }
Finalise finalises the state by removing the self destructed objects
and clears the journal as well as the refunds.
Finalise finalises the state by removing the self destructed objects and clears the journal as well as the refunds .
//if cms.Cointyp == cointyp { //可以不用判断币种 //log.Info("Finalise ----------------------------------------------","coin type",cointyp,"range",cm.Range,"dirties length",len(cm.State.journal.dirties)) //break //}