code: func formatLockTime(lockTime uint32) string {
  	// The lock time field of a transaction is either a block height at
  	// which the transaction is finalized or a timestamp depending on if the
  	// value is before the lockTimeThreshold.  When it is under the
  	// threshold it is a block height.
  	if lockTime < txscript.LockTimeThreshold {
  		return fmt.Sprintf("height %d", lockTime)
  	}
  
  	return time.Unix(int64(lockTime), 0).String()
  }
docs: // formatLockTime returns a transaction lock time as a human-readable string.