func (sm *ShardStateManager) GetTipSlot() uint64 {
	sm.stateLock.Lock()
	defer sm.stateLock.Unlock()

	return sm.tipDB.slot
}
// GetTipSlot gets the slot of the tip of the blockchain.
GetTipSlot gets the slot of the tip of the blockchain.
// GetTipSlot gets the slot of the tip of the blockchain .
func (sm *ShardStateManager) GetTipSlot() uint64 {
	sm.stateLock.Lock()
	defer sm.stateLock.Unlock()
	return sm.tipDB.slot
}
func ( sm * ShardStateManager ) GetTipSlot ( ) uint64 { sm . stateLock . Lock ( ) defer sm . stateLock . Unlock ( ) return sm . tipDB . slot }
GetTipSlot gets the slot of the tip of the blockchain.
GetTipSlot gets the slot of the tip of the blockchain .