// Check the availability of live, copy one from original if not have, and report an error if
// original does not exist
Check the availability of live, copy one from original if not have, and report an error if
original does not exist
// Check the availability of live copy one from original if not have and report an error if // original does not exist
func (r *RevertableTrie) checkLiveLocked() error {
	if r.Live == nil {
		if r.Origin == nil {
			return common.ErrNil
		}
		r.Live = r.Origin
		r.Origin = r.Live.Clone()
	}
	return nil
}
func ( r * RevertableTrie ) checkLiveLocked ( ) error { if r . Live == nil { if r . Origin == nil { return common . ErrNil } r . Live = r . Origin r . Origin = r . Live . Clone ( ) } return nil }
Check the availability of live, copy one from original if not have, and report an error if
original does not exist
Check the availability of live copy one from original if not have and report an error if original does not exist